Re: imagettftext and utf-8 (swedish characters)

From: Date: Wed, 05 Mar 2008 18:23:37 +0000
Subject: Re: imagettftext and utf-8 (swedish characters)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-271042@lists.php.net to get a copy of this message
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 -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#271042) next »