I set all about encoding to utf8. but browser show me '???????'. My settings are below.    MySQL "show variables like 'c%'"  character_set_client     | utf8 character_set_connection | utf8 character_set_database   | utf8 .... (all utf8)   MySQL my.cnf  [client] default-character-set = utf8 [mysqld] init_connect="SET collation_connection = utf8_general_ci" init_connect="SET names utf8" character-set-server = utf8 collation-server = utf8_general_ci [mysql] default-character-set = utf8   In all my PHP file included:  &lt;meta http-equiv='Content-Type' content='text/html; charset=utf-8' /&gt;   Apache2 httpd.conf  AddDefaultCharset Off (if utf-8, show me '???' ,too)   In MySQL console, (database is dumped)  SELECT name from campagin LIMIT 1     =&gt; print in working order, not '????'       I don't know what is problem.  For reference, I test this case.. in test.php  &lt;?php     mysql_connect('localhost','root',ROOT_PW);     mysql_select_db(TEST_DB_NAME);     mysql_query("INSERT INTO a SET msg='안녕하세요'"); // char is KOREAN, meaning 'Hi'     $res = mysql_query("SELECT msg FROM a LIMIT 1");     $row = mysql_fetch_assoc($res);     echo $row['msg']; ?&gt;     =&gt; this print '안녕하세요' in working order not '????'   but in MySQL console   "SELECT msg FROM a LIMIT 1"      =&gt; print not '안녕하세요' but abnormally 'ì•ˆë…•í•˜ì„¸ìš”'   ADDED : in mysql console   "SHOW CREATE TABLE a"     =&gt; Table | Create Table        a     | CREATE TABLE `a` ( 'msg' varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8
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.
Stack Exchange blog is showing me the mobile site and won't let me exit on Chrome 21. Could someone take a look? Thanks. Edit I noticed it was with the special query string, that I can't exit it. Can the links in the "possible vandalism: edits" flag point to the revision rather than the post When we get the following flag:     possible vandalism: edits (auto)   We see a set of links to the posts that have been edited.  This means that to check that edit is valid we have to click the link to the post then click the link to the revisions on that post and then go back twice to get back to the flag to check the other posts.  It would be far more efficient if the links were to the revisions page rather than the post itself. It would make checking these flag much quicker. Is there a word for colloquial forms of address? How to force the Y axis to only use integers in Matplotlib? Strange problem with BibTeX sorting I am very new to LaTeX and I am writing my thesis. In a chapter, I want to show my codes, which are in Mathematica.   I use the listings package as follows:  \documentclass{article}   \usepackage{listings}   \begin{document}   \lstset{language=Mathematica}    \begin{lstlisting}   Do[i^j,{i,1,10},{j,1,10}]   \end{lstlisting}    \end{document}   However, the output is much different to what the code looks like in the Mathematica IDE (even if I use other languages in \lstset{language=&lt;name&gt;}):    I read some questions on the site but, in some of them, the font or color of the codes were not the same. Could you please help me to display something like the picture below in LaTeX?  If it is important, I am using the BiDi package. Text won't appear in interface? There is one problem, it seems that text won't appear on my program. The three images show the errors and also my laptop specs (I believe I just have very small amount of laptop power that makes Blender glitch).  Everything else works fine (zooming, panning, rotating, etc.) and the buttons are still there and do what they're supposed to do, but the text just won't appear.  Might anybody know how to fix this?        The drive update didn't help either. I know a way around it though, does anybody know a page which shows screenshots of more or less the buttons on blender Where is Jon going? No cycle containing edges $e$ and $g$ implies there is a vertex $u$ so that every path sharing one end with $e$ and another with $g$ contains $u$ There is a proof in my textbook for the following claim, which doesn't make a whole lot of sense to me.  My annotations are in bold.  Could someone perhaps elaborate on what's going on?  Claim.  If there does not exist a cycle containing edges $e$ and $g$ then there exists a vertex $u \in V (G)$ such that every path in $G$ sharing one end with e and another with $g$ contains $u$.  Proof: The claim trivially holds if $e$ or $g$ is a loop OK, so we assume that neither is. Let $P$ with vertex set $v_1, v_2, . . . , v_k,$ in order, be a path with $e$ joining $v_1$ to $v_2$ and $g$ joining $v_{k−1}$ and $v_k$. Let $f_i \in E(P_i)$ be the edge with ends $v_i$ and $v_{i+1}$. Let $j$ be chosen minimum so that no cycle in $G$ contains $e$ and $f_j$ We can do this because we know that at least the edge $g$ will not create a cycle by assumption, right?. We will show that $u = v_j$ satisfies the claim.  Suppose not. Let $C$ be a cycle containing $e$ and $f_{j−1}$ What if $f_j = e$?  then what cycle? a single vertex? and let $P′$ be a path from an end of $e$ to an end of $f$ Not sure what the book meant by $f$ here, any guesses? avoiding $u$. Choose a subpath $Q$ of $P′$ with one end in $V (C)$ and another in ${v_{j+1}, v_{j+2}, . . . , v_k}$ as short as possible. Then $C \cup Q \cup P$ contains a cycle containing both $e$ and $f_j$, a contradiction. (The last statement requires some case checking.) This ending seems a bit abrupt and non-obvious to me  Thanks for the help How can I make sharp geometric 3d models look more realistic? I'm making a scene in Blender with manufactured mechanical and electrical objects - cylinders, metal objects and so forth. I want to make these look real, be fully present with a sense of mass and substance.  3DCG has a tendency to make everything very sharply geometric, often looking mathematical and artificial. In other scenes, some organic curves, normal maps or particle systems would help make object look real. Like for example, making a simple plastic dog model look more believable, one can add more vertices for better definition, add texture layer, add fur etc.  My scene shows clean resistors, wires, metal strips and such, all sharply geometric. It's tricky to find ways to make the result less mathematical and more substantial, realistic and interesting to the eye.  What are some effective ways to add realism to these objects? I lost my Italian residence permit abroad, how can I obtain a duplicate so that I can fly back to Italy? Sweden is going to ban me from flying if I can't show them my lost permesso di soggiorno from Italy. It was issued in Florence because my old one expired while I was in school. How do I get a copy? Count number of occurences for each unique value If you draw two cards, what is the probability that the second card is a queen? bi-directional sync with rsync Example where convergence in mean does not imply convergence in quadratic mean Is there an example where convergence in mean does not imply convergence in quadratic mean. $E|X_n-X|\rightarrow 0$ but $E|X_n-X|^2 \nrightarrow 0$.  It seems like this should be fairly straightforward, but I cannot really come up with an answer.  I'd imagine the answer would look something like   $$X_n=\begin{cases}a &amp; \text{with probability } \frac{1}{n} \\\  0&amp; \text{with probability } 1-\frac{1}{n} \end{cases}$$ Get attention to a new answer to an old question It happened to me that I found a solution to an older question. This question was commented by many people with comments like "very interesting, important, ..." such that I thought that my answer has also some value. My answer was the only one. It was upvoted and accepted by the asker. However, I assume, that very few of the "commentators" saw my answer, because the system does not inform automatically about new answers.   I think it would have been helpful for me and the commentators when they would get informed. I could achieve this by adding my own comment to their comments, because this triggers a system message. My question is: would this action be considered admissible or not? Are there some other possibilities? I don't know about you, but to me happens a lot: if I'm reading a question with a LOT of answers, (specially in a really specific question) I just read the most voted up: that's the way the system was made to be, and it's really good. The most relevant voted by the community are the first ones.  Since we have TOO many users, and a lot of them are reading the same questions and answering them almost at the same time, do you think the "urge" to be the first to answer a question and so gain reputation points makes people sometimes write things too fast and not try to really elaborate a really helpful answer? We may think: "people aren't going to read all answers, so I need to be really concerned about how fast I'm to answer". Are we incentivating "objective answers", or "not so good but objective and good to be voted up"?  I'm not trying to be unfair with all answers people here provide, we have really good ones here. But supose what I wrote above is a reality: what you think it would happen if it was a "time delay" between an "up-vote or down-vote" and it's sum in the answer? Summarizing: what if the sum wasn't almost "real time"? Is it possible to make my laptop's screen act as a second monitor for my desktop computer? Is there a goto or any equivalent in Python to be able to jump to a specific line of code? Why is there an electric field in a wire even though it is a conductor? If you take a perfect conductor, there cannot be a field across it since if there were, the particles would arrange themselves in a way to cancel out the field right?  Yet, why does the same not hold true for a wire. A wire is essentially a long, thin conductor yet electrons do indeed flow so there must be an electric field.  Does this not contradict with what happens in a conductor? Why don't the electrons re-arrange to cancel out the electric field?