So I'm having some countries in a mysql tables, the problem is that when I list the countries it list them with some funny charcters, I've also had a look into the database an they are the same in the database too.  Here you have an image, on how the results look, I've tried mb_convert_encoding(string,"UTF-8") but that doesn't do anything, do you know how can I fix these?
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.
Don't display pending edit counter if you've exhausted your suggested edit votes Should I use a comma in this sentence? I am trying to teach myself punctuation rules. I have this sentence:     The Disney version generally considered both racist and sexist portrayed the female characters in stereotypical roles and presented ethnically diverse characters with stereotypical features.   I think the sentence needs a comma after sexist and before portrayed. I also think it needs a comma after roles because of what I have identified as a coordinating conjunction. I.e.:     The Disney version generally considered both racist and sexist, portrayed the female characters in stereotypical roles, and presented ethnically diverse characters with stereotypical features.   Did I punctuate the sentence correctly? Is this a coordinating conjunction? Why isn't the symmetric twin paradox a paradox? Two twin sisters synchronize their watches and simultaneously (from the earth frame) depart earth in different directions. Following a predetermined flight plan, each sister accelerates identically to 99.9%c and then returns home at the same time (again in the earth frame). The observers on earth see each twin as having aged identically, as the symmetry of the problem dictates. Each twin however should see the other as having aged... What gives? How do I make Thunderbird open links in Chromium? I want to be able to click links in Thunderbird emails and have them open in Chromium (package name chromium-browser). Instead, they open in Firefox.  I have tried the following:   xfce preferred applications (Chromium is not listed, so I had to hunt down the executable) -- next time I run chromium, it complains that it is no longer the default browser. Telling Chromium to set itself as the default browser. Thunderbird opens links in Firefox. update-alternatives. It's already listed as an alternative at the same priority as Firefox. The "open web browser" app menu item opens Chromium. Thunderbird opens links in Firefox.   I have looked through the entire preferences gui in Thunderbird (but not the advanced config editor yet) and seen nothing that mentions what browser to open links in.  Please note that this is not Google Chrome. "wait on" or "wait for"? Officials are waiting on autopsy results for Oscar-winning actor Philip Seymour Hoffman. New York police suspect a drug overdose, possibly heroin.   I am curious about the preposition on in the sentence, because I usually say "wait for" instead of "wait on". Does it still have the same meaning if I change on to for? Just as follows:     Officials are waiting for autopsy results for Oscar-winning actor Philip Seymour Hoffman. New York police suspect a drug overdose, possibly heroin. What are the Windows A: and B: drives used for? In Windows you have a C-drive. Everything labeled beyond that is with the following letter.   So your second drive is D, your DVD is E and if you put in a USB stick it becomes F and the following drive G. And so on and so forth.  But then, what and where are A and B-drives? Protagonist becomes the avatar of an alien deity and has to cope with adversary god In Inkscape when I apply a dash stroke, then set a mid marker shape, it does not show anything. Random matrix theory impact on covariance matrix analysis Can TikZ create pixel art images? Can you create images like this:    when you have something like  0 = green (#54ff00) 1 = white (#ffffff) 2 = red   (#ff0000) 3 = blue  (#0048ff)  Image (Python list of integers defined above): [[2,0,0,0,0,0,0],  [0,3,0,0,0,0,0],  [0,3,2,1,1,0,0],  [0,3,2,2,2,1,1],  [0,3,2,0,0,1,0],  [0,0,0,0,0,1,0],  [0,0,0,0,0,1,0]]   with TikZ?  How far I got  The following MWE defines all colors, produces a grid of the correct size (though the size is determined by hand):  \documentclass[varwidth=true, border=2pt]{standalone} \usepackage{tikz} \usepackage{xcolor}  \begin{document}     \newcommand\n{7}     \definecolor{green}{HTML}{54FF00}     \definecolor{wite}{HTML}{FFFFFF}     \definecolor{red}{HTML}{FF0000}     \definecolor{blue}{HTML}{0048FF}     \begin{tikzpicture}         \foreach \x in {1,...,\n}{             \foreach \y in {1,...,\n}{                 \begin{scope}[shift={(\x,\y)}]                   \draw [fill=green] (0,0) rectangle (1,1);                 \end{scope}             }         }     \end{tikzpicture} \end{document}   Of course, I could simpy make a lot of adjusted                   \begin{scope}[shift={(\x,\y)}]                   \draw [fill=green] (0,0) rectangle (1,1);                 \end{scope}   but I've wondered if this can (with reasonable effort) be done in TikZ / LaTeX.  My problem is giving TikZ the color array. I don't have any idea how to do this. I only know two types of looks in TikZ:  \foreach \x in {0,1,2,3,4,5}{...} \foreach \number in {1,...,\n}{...}   I have never seen a nested over a 2D-array. All I have seen so far were 1D-Arrays of tuples (with fixed tuple size). I was just thinking that maybe if we have more Stack&nbsp;Exchange websites then each person would be a member of more different sites on average. Since the time a person can spend online on average is limited it means he will be spending less time on each website. But would this affect the quality of these websites? I'm not talking only about the quality answers given but also the number of answers given, the promptness. Won't these things go down?  I think that the rate of questions won't go down much because you need to know what you need to know. However, the average time a person spends browsing through these websites (and chances upon a question he can answer) would decrease. So are we creating too many different Stack&nbsp;Exchange sites? This is the achievements drop-down on Ask Ubuntu:    It doesn't look very good. The same happens on Meta SE - so it's a new and old top-bar issue.    Mac OS 10.12.6, Chrome 60.0.3112.113. Also happens in Safari 11.0 and Chrome incognito mode with no extensions, so is not a user-script issue. Zoom at 100%.  Does not happen with Chrome on Windows 10. Error: invalid environment block. Press any key to continue...   The error message appears immediately after the boot screen on purple background. Ubuntu 12.04.1 LTS. WITH ROLLUP WHERE x IS NULL Forcing a SimpleXML Object to a string, regardless of context Lets say I'm building a base class which will be extended upon by the children class. So a base class is called Base and children can be Child1, Child2, etc.  In the base class's constructor, how can i get the value of Child1/Child2?  This is all using PHP how to reset gnome panel? I think my gnome-panel is messed up because I alt+right click it and nothing pops up.  I'm on 12.04, classic gnome desktop.  so I used locate and found gnome-panel in .gconf somewhere, how do I clear just gnome-panel's settings so that I can add things to my panel again?   edit:  matt: ~/.gconf $ find|grep -iw panel ./desktop/ibus/panel ./desktop/ibus/panel/%gconf.xml ./apps/gnome-settings/gnome-panel ./apps/gnome-settings/gnome-panel/%gconf.xml Is it possible in Minecraft to switch over from survival to creative in single player? Show that if $f: \mathbb{R} \to \mathbb{R}$ is a continuous injective map, then it is strictly monotonic.    Could someone give me a proof for this? I have the intuition for why it's true - I'm just having trouble expressing that intuition in a rigorous manner. Basically consider two points $x_1, x_2 \in \mathbb{R}$. By the problem statement, $f$ is continuous on $[x_1, \, x_2]$. WLOG, assume that $f$ is strictly increasing. It there exists a point where it is not increasing, then $f$ hits a value twice, and it's not injective. How to safely change OS name in grub boot menu? I have a system where I am dual-booting Ubuntu GNOME 15.10 and Ubuntu GNOME 16.04, however after installing Ubuntu GNOME 16.04, I have found that in the GRUB boot entry list it is called "Ubuntu", whereas the other one is called something like "Ubuntu GNOME 15.10", is there any way I can change the text of the "Ubuntu" one to "Ubuntu GNOME 16.04"? And also change the names of the other options so that instead of "Advanced options for Ubuntu" it says "Advanced options for Ubuntu GNOME 16.04" etc?  I rather do it manually if it is safe to do so, or a piece of software could be recommended, however nothing from a PPA or other untrusted not official source (I will only install software from the Ubuntu official repositories).