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
Although that's true in general if $text contains some Turkish chars like "Çınar" translition will fail unless your environment is set to work on Turkish locale.
In case you may need to set locale within php like below;
setlocale(LC_ALL, 'tr_TR');