Problem with encoding

Started by Sawyer, May 23, 2014, 01:21:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

autotron

can try

In httpd.conf add

AddDefaultCharset utf-8

Sawyer

So, I have a problem with char encoding, some special chars are not displayed ok, for example "ăîţâ" shows as "ăîţâ".
On localhost everything was ok but on the hosting it's not.
In template.php i have "header('Content-Type: text/html; charset=utf-8');"
What could be the problem?

With "header('Content-Type: text/html; charset=ISO-8859-2');" i get from "ăîţâ" this "ãîþâ".
utf-8 should be the right charset..