Friday, 15 April 2011

localization - Actionscript TextField doesn't display chinese characters (font is embedded) -


Here is the situation where I have a bunch of textfields, which contain some phrases, and a local file that contains several languages.

Those are the translations of phrases. I also have a textfield on the forum, where I copied all the characters from local characters (meaning Latin characters, as well as French, Spanish, and Arabic, and special characters from Chinese characters)

Problems now: All translations look fine, even for Arabic except sugar, for sugar, I do not see anything, only white space. If I compile the application with Chinese translation already in Textfield, then I can see them, but as soon as I try to set them dynamically, everything disappears.

The font I am using is Ariel, bold, and I tried to embed the whole Chinese set in glyphs, but no luck.

In addition to this, I tried to start a warning window before using the external interface to locate the Chinese characters, I am setting them in textfield, and I see them in the alert box (I'm using ViG to see the mark, but for sugar I am just looking for sections).

Help me ..


No comments:

Post a Comment