Page 1 of 1

Unicode encoding problem on web server

Posted: Fri Jul 22, 2011 2:22 am
by zabeehkhan
Hello everyone,
hope someone can help me with this encoding problem here.

I am working on a website and have almost fully deployed it. I kinda have developed a custom CMS for it. It's used for article publishing, management, etc.

Now, the problem is that on my local computer where I do my development, everything is working fine, but when I uploaded the whole website to the server, the text isn't properly appearing and instead ??? appear.

The text is Pashto and Urdu (Arabic kinda writing) and on my local computer I am using Wamp 5 with PHP 5.2.5. Everything is fine locally as I just said.

On server the PHP version is 5.2.xx.. I (don't exactly remember the last part atm). So the versions are almost the same. The database collations are all properly set to utf8_general_ci and I am also using "SET NAMES UTF8" (Whatever it is) before querying data from MySQL.

It's kinda strange.. and I am really not sure what to do now as everything is fine in my local server. Any help?

Re: Unicode encoding problem on web server

Posted: Sun Jul 24, 2011 2:05 pm
by VladSun
What's the encoding of the output page (in the browser)?