Re: how to use imagestring() function with Chinese String

From: Date: Sat, 28 Jul 2007 08:50:41 +0000
Subject: Re: how to use imagestring() function with Chinese String
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-259736@lists.php.net to get a copy of this message
Hi Davis, Saturday, July 28, 2007, 1:54:22 AM, you wrote: > Hi! I am trying to use the imagestring() function to put a string of > Chinese characters from a $_GET variable onto an image. However, the > characters do not display right (English is fine). Is there a way I can > fix this or it is the limitation of the function itself? Thanks. Using the built-in fonts will not give you Chinese character support. You need to either build your own font, or find a True Type font that does have the character set you require, and use the image ttf functions instead. Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk "Never trust a computer you can't throw out of a window"

« previous php.general (#259736) next »