I've been trying to make Unicode encoding work on my website, every time I post this symbol "😄" the result after submit is "?".   I am using this to enable UTF, and I am using cakephp framework.  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;   Update: It only doesn't work on dynamic element posted via Javascript.
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.
Is it considered plagiarism for a professor to use uncited sources in teaching materials? How do you select a particular option in a SELECT element in jQuery? Do photons have acceleration? Photons travel at the fastest speed in our universe, the speed of light.  Do photons have acceleration? Can I see things that I've said in chat that have been starred? I was reviewing the star on chat.SE list this morning and I noticed that quite a few of the items on the list were mine.  I was curious as to how often people enjoy the things I post there enough to star them, but I can't seem to find statistics about this anywhere.  Mana told me that no such feature exists.  (the best we could come up with is ) So here's my request - can I filter/search the chat history for things I've said that other people have starred? find all the members of A4/K Let K={(1),(12)(34),(13)(24),(14)(23)} show that K is a normal subgroup of the alternating group of degree A4 and find all the members of A4/K and write down the group table for A4/K.   i know that K is the Klein four group and i have already proven it is a normal subgroup but i need a start on approaching the A4/K part of this question no direct answers are necessary,just ideas thank you! :) How can I suspend/hibernate from command line? How can I suspend or hibernate my laptop using command line, without installing additional software? Links being changed to cppreference.com Someone just edited a link in one of my answers to point to a 'better reference'.    I've no problem with links being changed in general, but this smells like part of a concerted attempt to redirect traffic.   Is this kind of activity acceptable on SO? Is there a function $f\colon\mathbb{R}\to\mathbb{R}$ such that every non-empty open interval is mapped onto $\mathbb{R}$? I wonder  whether there is a function $f\colon\Bbb R\to\Bbb R$ with the folowing characteristic?   for every two real numbers $\alpha,\beta,\alpha\lt\beta$,  $$\{f(x):x\in(\alpha,\beta)\}=\Bbb R$$   I can't  say such a function does not exist, neither can I construct a example  Thanks a lot! Would a Jedi (Sith) clone be force-full or force-less Just seen a picture of Vader Force-choking a trooper. And then I started wondering: what if they had cloned a Sith (or a Jedi). Would the clones have the Force? Specifically, would they have the same Force as the original? I have what seems to me a very simple proof that $A_{n}$ is the only subgroup of $S_{n}$ of index 2.  Since I've seen other people prove it with what feel like really complicated methods (), I'm wondering if I've overlooked something.  Proof: Let $H$ be any subgroup of index 2 in $S_{n}$.  Then $H\cap A_{n}$ is a normal subgroup of $A_{n}$ and since $A_{n}$ is simple, $H$ is either the trivial or the improper subgroup of $A_{n}$.  If it's the trivial subgroup it doesn't have index 2 in $S_{n}$, and otherwise the theorem is proved. How to keep rice in a biryani from burning and sticking together? The bottom part of my  Biryani always  gets burnt, rice always gets sticky but I want each grain separated. How can I prevent burning &amp; stickiness of rice? I have a vector space $V$ over a field of characteristic $0$. If $M_1,\dots,M_k$ are proper subspaces of $V$, and $N$ is a subspace of $V$ such that $N\subseteq M_1\cup\cdots\cup M_k$, how can you tell $N\subseteq M_i$ for some $i$?  I was first trying to show it just in the case $N\subseteq M_1\cup M_2$, and hoping to extend it to finitely many $M_i$. If either of the $M_i$ contains the other, the claim follows, so I suppose neither $M_i$ contains the other.   In hopes of a contradiction, I suppose $N\not\subseteq M_1$ and $N\not\subseteq M_2$, Picking $x_1\in N\setminus M_1$ and $x_2\in N\setminus M_2$, I'd have $x_1+x_2\in N\subseteq M_1\cup M_2$. The only thing I could conclude was that actually $x_1,x_2\notin M_1$ and $x_1,x_2\notin M_2$, which seems like a dead end. What's the right way to do this? Image a phone and browse on computer emulator? I have a galaxy nexus (stock OS). During its use I have used WeChat and WhatsApp, and would like to save my chat and voice histories within these programs.  Does a way exist to image my current phone as it is, so I can load it onto some PC emulator and browse these apps on my PC? This would allow me to save everything as it is, but also start fresh on my phone with a format. I do not want to format my phone then load back on WeChat for instance, yet I still want to be able to browse my old WeChat chats and voice clips (using a PC).  Thanks Show that $PF.PG=b^2$ in a hyperbola If the normal at P to the hyperbola $\frac {x^2}{a^2}-\frac {y^2}{b^2}=1$ meets the transverse axis in G and the conjugate axis in G' and CF be the perpendicular to the normal from the center C then show that $$PF.PG=b^2\space and \space PF.PG'=a^2.$$ We know that the equation of the normal at parametric point $P\equiv(a\sec\theta,b\tan\theta)$ is given by  $$a\,x\cos\theta+b\,y\cot\theta=a^2+b^2$$   Equation of the transverse axis is $y=0$ and that of the conjugate axis is $x=0$.   Hence   $$G\equiv(\frac {a^2+b^2}{a}\sec\theta,0), \, G'\equiv(0,\frac {a^2+b^2}{b}\tan\theta)$$  C is the origin and CF is perpendicular to the normal. Hence   $$ CF\equiv b\,x\sec\theta-a\,y\tan\theta=0\implies y=\frac {b\,x\sec\theta}{a \tan\theta}$$   Substituting this in the equation of the normal we get   $$a\,x\cos\theta+b \,\cot\theta\,\frac {b\,x\sec\theta}{a\,\tan\theta}=a^2+b^2\ $$   implies  $$ (a^2 \cos\theta \sin^2\theta+ b^2\cos\theta)x=(a^2+b^2)\sin^2\theta$$  After finding the coordinates of F, the calculation becomes very complicated. So is there an easier way to approach the problem? I would love to see a pure geometric solution to this problem. machine wakes only on local magic packet I've got a Debian server, which I would like to wake up remotely using a tool like wakeonlan.  I have assigned the server a static internal IP 192.168.0.14 and set up the appropriate port forwarding in the router (which otherwise has a very limited admin interface).  When I am logged in to the same network, I can wake the server using the subnet IP, but I cannot wake the server using the public IP of the router.  What I do not understand: When the server is running and I listen on the server with netcat nc -ulv -p 9, I can see the packet coming in in both cases (both when sending to the subnet IP and when sending to the public IP of the router).  If the packet arrives in both cases, why does the machine wake up only in one of them? Choosing my name as an author when publishing a scientific paper, can I use my "unofficial" first name? I have one official first name which appears on my ID card. I have another first name which friends call me by. Is it possible to use my unofficial first name and official family name to publish scientific papers? How can I prove to someone that I am one of the authors? How can I reset my menus? I accidentally opened too many menus (or windows) and I want to reset them to default.  It is really annoying, and effecting my animation.  Thanks On what criteria should I evaluate domain registrars? Though I've been a web developer for a fair amount of time, I am going for the first time to buy a few domain names.  I have looked into the domains I'm going to buy and know that they're available, and I've been looking into which sellers to use.  After doing a lot of research, the main ones I'm considering are 1&amp;1, Namecheap, and Gandi.  The problem is, when continuing to research, I'm not really sure what makes one domain seller distinct from another.  I don't need much in the way of services--definitely not hosting, since I plan to use Heroku for that.  I mainly only need the domain itself and DNS management, as well as possibly SSL certificates and WHOIS protection.  Question:  What makes one domain seller different from another?  How can I go about evaluating which one is the best for me?  Note:  This question is not which domain seller is the best, but rather, what criteria can I use to evaluate them and rank one over another.  I'm trying to find out what makes one domain seller different from another, since they all seem to be pretty similar to me right now. Selecting the right crank length What is the best way to determine the correct crank length for my height and more specifically my leg length? Show that $\frac{P(z)}{Q(z)} = \sum_{k=1}^{n}\frac{P(\alpha_k)}{Q'(\alpha_k)(z-\alpha_k)}$