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