Alright so I have got a database that contains data of some different countries such as capital, continent, population. In my language, the continent Asia is translated to Azië. But when I import the data through a query it displays it like this: Azi�  &lt;!DOCTYPE html&gt; &lt;html&gt;   &lt;head&gt;     &lt;title&gt;Opdracht 36&lt;/title&gt;     &lt;meta charset="utf-8" /&gt;   &lt;/head&gt;   &lt;body&gt;     &lt;table&gt;       &lt;tr&gt;         &lt;strong&gt;           &lt;th&gt;land_id&lt;/th&gt;           &lt;th&gt;land&lt;/th&gt;           &lt;th&gt;hoofdstad&lt;/th&gt;           &lt;th&gt;werelddeel&lt;/th&gt;           &lt;th&gt;inwoners&lt;/th&gt;         &lt;/strong&gt;       &lt;/tr&gt;       &lt;?php          $servername = "localhost";         $username = "root";         $password = "";         mysql_connect($servername, $username, $password);         mysql_select_db("Enigma");         $query = "SELECT * FROM landen ORDER BY werelddeel";         $result = mysql_query($query);         while ($row = mysql_fetch_array($result))          {       ?&gt;       &lt;tr&gt;         &lt;td&gt;&lt;?php echo $row["land_id"]; ?&gt;&lt;/td&gt;         &lt;td&gt;&lt;?php echo $row["land"]; ?&gt;&lt;/td&gt;         &lt;td&gt;&lt;?php echo $row["hoofdstad"]; ?&gt;&lt;/td&gt;         &lt;td&gt;&lt;?php echo $row["werelddeel"]; ?&gt;&lt;/td&gt;         &lt;td&gt;&lt;?php echo $row["inwoners"]; ?&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;?php         }       ?&gt;     &lt;/table&gt;   &lt;/body&gt; &lt;/html&gt;
I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
If $p$ and $q = 2p + 1$ are both odd primes, show that $-4$ and $2(-1)^{(1/2)(p-1)}$ are both primitive roots modulo $q$. If $p$ and $q = 2p + 1$ are both odd primes, show that $-4$ and $2(-1)^{(1/2)(p-1)}$ are both primitive roots modulo $q$.   I cannot get heads nor tails of how to even start this let alone finish it Do superheroes/villains like Quicksilver or Flash with super speed get tired due to running? I mean a average human can run at his full speed for 15 to 20 mins before getting tired. Trained athletes can go on running for much more time without tiring out.  Do Superheroes like Quicksilver or Flash ever get tired due to excessive running? Object selection box with eyedropper What does a "Legacy USB Mouse" option in a BIOS mean?  Yes legacy usually means older revision, or obsolete. So legacy usb mouse means support for "old style usb mouses".     That's not really answering the question. As Mr. Tamm, my high school electricity teacher, liked to say, "Yes, and oranges taste orangey."   What does legacy USB mouse support mean?   What is a legacy USB mouse?  There's an "old style" USB mouse?  What changed between what version of usb and what version of usb that made mice incompatible? Why was the change made?  When was the change made? Who made the change? What was the virtue of the "new USB mouses" over the "old USB mouses"?   Put it another way:     What is the BIOS doing when "Legacy USB Mouse" option is enabled?   What is the BIOS doing when "Legacy USB Mouse" option is disabled?   See also Prove that $||x|-|y||\le |x-y|$ My primary router has trouble extending wifi coverage to some bedrooms in the house so I am planning to add a second router to extend the wifi network using the wired Ethernet ports in one of the areas of poor coverage. Basic layout -   The ISP's router is in my family room downstairs (fiber connection) and the internet connects to the fiber via a box in an upstairs closet.   I purchased and installed an unmanaged Ethernet switch/splitter. In the upstairs closet where all of the Ethernet wires meet, the family room Ethernet cable was plugged into the ISP's box. I disconnected this wire and replaced it with a CAT5 cable running from the ISP's box in the closet to the Ethernet switch's port 1.  I think connected the family room Ethernet cable to port 2 and did the same in order for all the remaining Ethernet cables to various bedrooms.   So far, the switch is working fine.  I have wifi working with internet coming off of the router in the living room so I believe the switch is installed correctly otherwise that wifi should not have internet coming off of the living room jack.   Here is where things go awry - I took my second wifi router and connected the WAN/Yellow port to the Ethernet wall jack in another bedroom.  I then connected a lap top to one of the Ethernet ports on this router and found "no internet" after connecting.  On a whim, I changed the connection so that the router was connected to the Ethernet wall jack in one of the white ports but with the same results.   I don't think this counts as cascading and I don't really need a new network since I do not share the connection with any non-family members.  The router has been reset to factory settings to clear out any old instructions - but I still can't get it to connect to the internet or access the router to change the settings even - it's a netgear and the routerlogin.net will not let me access the router even when I am on the working WIFI for internet and have a cable running from the laptop to the netgear router.   I could use some help - just trying to extend the wifi range and it seems like it should be much less complicated. Tried following instructions in several other posts and they did not work for me - because I cannot access the router to change any settings. With variable length instructions how does the computer know the length of the instruction being fetched? Applying for tourist visa for US in country other than your own Possible Duplicate:          Can British passport holders apply for a B2 USA visa from other countries, if they are living there? Or do they have to go back to Britain to apply for it? "Outside" or "outside of"? Why didn't Dumbledore show his memory of Barty Crouch Jr's confession to Cornelius Fudge to confirm his point that Voldemort returned? Wouldn't that just prevent all the mumbo-jumbo happening in the 5th book? Launcher Icons disappear How to partially hide content in beamer latex? I'd like some suggestions for good reading materials on the Keldysh formalism in the condensed matter physics community. I'm familiar with the imaginary time, coherent state, and path integral formalisms, but lately, I've been seeing Keldysh more and more in papers. My understanding is that it is superior to the imaginary time formalism at least in that one can evaluate non-equilibrium expectations. percent signs in luacode* environment (LuaLaTeX) Can someone explain what happens here:  \documentclass{article} \usepackage{luacode} \begin{document}  \begin{luacode*} tex.print("xx\%a","yy\\%b","zz\\\%c") \end{luacode*}  \end{document}   The result is xxyy%b zz%c. (The xx,yy,zz is clear.) The \%a is "ignored", the \\%b and the \\\%c results in the "same" %b (or c). What is the preferred way to get a % in the PDF output? Why is the \%a ignored? What does TeX see after returning from the lua call? Book recommendations Why does my item name not show up in 1.13? Story about a trip to a Valley of Sound I read a short story, can’t remember if it was part of a larger narrative or just on its own.  It was about a crew that was taking a bunch of space tourists to a planet that had plants with seeds in glass-like structures that make certain sounds. The main character in this story feels connected to this planet because there’s a Valley of Sound, where there’s a large number of these glass plants that make all sounds imaginable.  People can almost pick out a loved one’s voice for instance. I absolutely love this concept but can’t for the life of me remember what the story/book was called! Books for Condensed Matter after Ashcroft/Mermin What are some good condensed matter physics books that can fill the gap between Ashcroft &amp; Mermin and research papers? Suggestions for any specialized topics (such as superconductivity, CFT, topological insulators) are welcomed. During my upcoming holiday to the USA I'm thinking about buying a new guitar as the exchange rate is extremely favorable. Excuse my naivety but I have never flown with a guitar before. What is a recommended way to go about this? Could I take it as carry on luggage or would it have to be checked? If checked luggage what kind of precautions should I take to keep it safe? Are there any problems with flying US budget carriers? If I do buy the guitar I'm expecting to have to make two flights with it, one domestic flight with Virgin America and an international flight with Air NZ. Pgfplots with custom axis markers Assume you have a trigonometric function, say for simplicity sin(x). When plotting the function, how can one place the x-axis markers on 0, pi/2, pi, 3pi/2, 2pi, instead of the default numeric values that pgfplots uses?