Nathan Rixham skrev:
before going any further, your HTML page is in UTF-8 yes? with the
appropriate content-type line.
Yes, apache uses only utf-8 as charset and the html content-type meta
tag is set to utf-8 too. Also, the html form validates at validator.w3.org
plus: first debugging step:
function preview(){
$title = html_entity_decode($_GET['title'], ENT_COMPAT, 'UTF-8');
print_r($title); #verify in view source / web browser that data is
correct before it's sent to imagettftext
I see the characters correctly, and page info in firefox says the
encoding is utf-8.
--
//*David Sveningsson [eXt]*
Freelance coder | Game Development Student
http://sidvind.com
Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True Brace Style, even if thou likest it not, for
thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php