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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux