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

From: Date: Thu, 06 Mar 2008 07:35:36 +0000
Subject: Re: Re: imagettftext and utf-8 (swedish characters)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-271066@lists.php.net to get a copy of this message
tedd skrev:
At 2:17 AM +0000 2/29/08, Nathan Rixham wrote:
Nathan Rixham wrote:
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));
Both statements work for me. -- see here: http://www.webbytedd.com/b1/special-char/ But I don't know -- it looks Swedish to me. :-) Cheers, tedd
I've started thinking something is wrong with my php installation as it seems to work for everyone else. Wrote more details in an earlier mail. Sidenote: If I replace åäö with numerical html entities it works, but that's not a reasonable solution to me. -- //*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 (#271066) next »