Re: Re: imagettftext and utf-8 (swedish characters)

From: Date: Fri, 29 Feb 2008 02:14:29 +0000
Subject: Re: Re: imagettftext and utf-8 (swedish characters)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-270676@lists.php.net to get a copy of this message
Nathan Rixham skrev:
try changing: imagettftext( $im, $title_size, 0, 50, 50, $white, $font, $title ); to: imagettftext($im, $title_size, 0, 50, 50, $white, $font, utf8_decode($title));
It draws lesser squares, but no characters (except for the regular alphanum characters which is rendered correctly, as before). -- //*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.

« previous php.general (#270676) next »