Posted by Steve on 10/10/07 11:56
On 9 Oct, 23:30, "Steve" <no....@example.com> wrote:
> "Steve" <StevePBurg...@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.
Yes I do. I am familiar with the use of imagettftext() function. Just
having problems with chinese characters. Guessing it is an encoding
issue but not sure where to start.
Navigation:
[Reply to this message]
|