Forum Moderators: open

Message Too Old, No Replies

How to create dynamic pictures with chinese characters?

Only see question marks...

         

class

2:21 pm on Sep 26, 2005 (gmt 0)



I want to create pictures from a text string that is stored in my database. It works just fine with normal english characters, but I can't get the chinese characters to work. I am using unicode fonts and they can show chinese, just that I can't get my scripts to work. I only see question marks.

They text in the database is stored in unicode format, like this: 你好 but the only thing I see is two question marks.

Can anyone understand my problem? Is there something special to think about when working with chinese characters? Maybe someone know about a script that does this already? I have checked Hotscripts but without luck.

/ Robert

dragonthoughts

2:39 pm on Sep 26, 2005 (gmt 0)

10+ Year Member



Have a look at [w3.org...]

It might give you some clues.

Also note that some browsers, e.g. Firefox let you set which character sets should be used for which language, so it may be that the Chinese font you are using may not be set up for your characters.

Are you using Simplified of Traditional Chinese?

Feel free to send me a sticky with a page of source code and I'll see if I can tell you what's wrong.