Belgin Fish Belgin Fish - 1 year ago 179
PHP Question

Fix Turkish Charset Issue Html / PHP (iconv?)

i'm having troubles displaying turkish characters, they are appearing as the little question mark with the diamond in the background in html.

How can I use iconv to fix this? Since I think thats the best option right? Right now my page is utf-8 encoded.

I need to support characters like


aswell as be able to insert them into my db.


Answer Source

Solved it by using

iconv("ISO-8859-1", "UTF-8", $text);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download