Re: GD Chinese support - php4.3

From: Date: Fri, 07 Feb 2003 18:04:32 +0000
Subject: Re: GD Chinese support - php4.3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134767@lists.php.net to get a copy of this message
Hi, Saturday, February 8, 2003, 3:30:11 AM, you wrote: ED> any one know how display Chinese Characters (tradition or simplified) in ED> GD.....? ED> is that something deal with multibyte functions...? ED> i have installed the bundled GD and Libjpeg ED> they all worked perfectly with english words ED> but when i generate a Chinese character, it just display two symbols ED> i've already set the encoding (of php) to BIG5 ED> and even i use mb_detect_encoding() it can show "BIG-5" ED> but when i use ImageTTFtext(blah blah blah , mb_convert_encoding("[Chinese ED> word here]","BIG-5") ED> it pops out 2 symbol ED> the ttf font i loaded is the one distributed by Microsoft (HKSCS) ED> any php experts know how to solve this problem? ED> Thank you all :) ED> Regards, ED> Eddy @ Hong Kong ED> eddy@ifmx.net You will probably find the microsoft font is unicode not Big5 -- regards, Tom

« previous php.general (#134767) next »