Posted by Steve on 10/09/07 22:30
"Steve" <StevePBurgess@gmail.com> wrote in message
news:1191967493.996319.280550@k79g2000hse.googlegroups.com...
> Hi. I need to store chinese characters and Pinyins in a mysql database
> and then read them from php and using the GD library and
> imagettftext() function to create an image based on a chinese ttf font
> of the chinese characters.
>
> I have tried setting the encoding in the database as UTF-8 and BIG5
> but the characters display (both in MYSQL and when displayed via PHP)
> as question marks.
>
> Can anyone help?
do you actually have the chinese font installed on the server, or where php
can access it? you have to specify the font (file) php should use.
[Back to original message]
|