You are here: Re: Chinese Characters « PHP Programming Language « IT news, forums, messages
Re: Chinese Characters

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация