Hi,
Is there a way to print national characters in TTF fonts? I'm using something like this, but there is a codepage issue here I think. In code, characters seem as they should be, but on web page, there is something else.
<?
header("content-type:image/png");
$r=imagecreate(500,100);
$k=imagecolorallocate($r,230,20,0);
$b=imagecolorallocate($r,255,255,255);
imagettftext($r,20,0,10,20,$b,"ERASDUST.TTF","ABCÇDEF");
imagepng($r);
imagedestroy($r);
?>
For example,fourth character is a "C" with a hook, a Turkish one. My font is a Turkish font. But this does not display the character I intended. I use the same font in Word etc. without problem. I am aware that you can select the font's nationality in MS-Word, but in PHP?
Thank you.
Anil