i have 2 queries in same page, one display arabic text properly, but other one not, it display like Ø³ÙŠØ¯Ø© Ø³Ø§Ø¦Ù‚      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt;   this line is included, it works in local host, but not in server
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.
Fitting linear model / ANOVA by group Why is the Night's Watch so depleted at the start of ASOIAF? At the start of AGOT, the total number of the Night's Watch is said to be less than a thousand. During Aegon's conquest, the Watch numbered ten thousand men. Out of the nineteen castles on the wall, only three are manned today. Castle black itself is once said to have housed 5000.   This rapid deterioration doesn't make sense to me from a world-building perspective. The NW have continued to maintain themselves pretty well for nigh on 8000 years (if the tales can be believed that is, Sam Tarly finds no written evidence of Lord Commanders earlier than #673, which suggests that 8000 years may be an inflated 'legendary' number).   Whereas in the real world, one of the oldest and most venerable institutions, the Catholic Church, has been around for less than 2000 years and has been administered by ~200 popes. The Night's Watch has had a few rocky years, sure, but for it to maintain itself so well for so long and then deteriorate only in the last 300 years seems strange to me.   The NW has two purposes. The ostensible one of defending against the Others, and the (arguably much more real, at least at the start of AGOT) purpose of serving as a dumping ground for the 'losers' of Westeros. By 'losers', I mean the people on the losing side of various wars and political battles, as well as criminals and n-th sons of noble houses with nothing to inherit.  I am currently reading through Fire and Blood, and was struck by one chapter, where an armed revolt of members of the Faith were defeated by Maegor, and 2000 brothers were forced to take the black. Those sorts of numbers don't exist in the recent histories it seems.   One would expect that after Robert's Rebellion, there would be a surfeit of defeated Targaryen loyalists who were forced to take the black, but apart from a smattering of named characters (including Ser Alliser Thorne), there seem to be hardly any Night's watch recruits from recent wars.  Given the way the Night's watch is continually bolstered by the losers of wars and by criminals and other people who elsewise have nothing going for them, why, at the start of AGOT, is the force so depleted? Flattening a shallow list in Python Linking search box to dataset column in Carto? The search box in a published map of CartoDB isn't linked to the dataset which is shown in the CartoDB map. How can I link the search box to a certain column of a dataset? How do I uninstall Ubuntu Wubi? AutoFixture with AutoMoq and concrete object injection Ok, I must be missing something obvious, but I'm having trouble adding a link to user/%/edit to the main menu.  In the Menu UI, I clicked "add link," set the title to "Account settings," and then was at a loss about what to put for the path.  I know how to generate a link to the account edit page using views, which is what I've always done before, but this time I actually need to add the link to the "Main Menu." Can anyone help me with this?  What is the sum of this series:  $\frac{2}{\pi}\sum_{k=1}^{\infty}\frac{(-1)^{k-1}}{2k-1}$  I got it after plugging $x=-1$ in a Fourier series   Thank you! Based on the question , I got curious. Is there a guide or resource that describes how the price of a ticket is determined?  When you search you often see curious effects like cheaper tickets for a flight from A to B with a layover compared to a direct flight. This seems counter-intuitive from an outsider's perspective since you fly twice. Also one way tickets more expensive than 2 ways.  It can be a short set of rules. Something that helps someone to get started with finding good prices. I know these can be very complex and they probably change over time and over airline interests but there is probably a simplified set of rules that can be enunciated. How to get reflections from 3D to show up on real images Hovering over featured moves the questions down a bit When I hover over featured tab, both on the front page and in questions, the questions move down by one pixel. Here's a small screen capture demonstrating the issue:        I see it in Chrome 34 and Opera 20, but I don't see it on IE11 or Firefox 28. Are the "umbles" etymologically related? From      And we show telltale signs of early hypothermia, what the doctor and   the National Institutes of Health and other cold-weather cognescenti   call the "umbles."      First we lose some fine motor skills, McLaren says, "and we start to   fumble. And tumble. And stumble."      Then our cognitive abilities are compromised. "We mumble and we   grumble."   Are the "umbles", such as fumble, tumble, stumble, mumble and grumble, etymologically linked, either in terms of sharing a common ending, or entire words having a common ancestor?  Trying to do a search of the etymology of the umbles ended up giving the etymology of the word  instead. Can I open a US bank account even if I don't live in the country? I have to prove this : "$n^7-n$ is a multiple of 7". This is what I have done this so far :  $P(n):n^7-n$ On putting $n=1,$ $P(1):1^7-1=0$, which is a multiple of 7. So, $P(1)$ is true. Let $P(k)$ be a multiple of 7. So, $k^7-k$ is a multiple of 7. So, $k^7-k=7m$, where $m$ is any natural number. Let $P(k+1)$ be true, Hence, $(k+1)^7-(k+1)$ is a multiple of 7.  Now, how do I evaluate $(k+1)^7$ without using the binomial theorem ? Or is there some other way to do it ? If just a single photon hit a single slit interferometer, what would happen? Would you just see a dot on the screen, or would there be a diffraction pattern? Furthermore, if you had a double slit interferometer but also had which-path information would there still be a diffraction pattern even though there is no interference? I didn't grow out of it.   or      I haven't grown out of it.    Which sentence is grammatically more correct? I'd rather say the second, but  I saw in the text the first one. Changing Screen Brightness Through Keyboard Functions on My Notebook I've installed Ubuntu 16.04 on my Asus X555LJ.  But I don't know how to install drivers or how to enable function keys to controls screen backlight brightness. This is meant to solve this problem once and for all. What is every reason an object isn't showing up in a render or viewport in when using the cycles render engine? "Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'." error in Photo: why and how do I fix it? How to create an animated Electric Arc or Lightning? I know about the technique of using a displace modifier with an animated displace object on a thin plane, but there are no "branches", no forking in the lightning.  Here is an image  that shows more or less what I'm thinking of:    Is it possible to achieve an 3D animated affect like this?  I have tried a few things, such as the . However, it doesn't support animation and repeatedly generating meshes and then manually animating the visibility is a tedious.