Skip navigation
Currently Being Moderated

Chinese Characters

Jun 23, 2010 2:26 AM

Hi,

 

This is a strange one.

 

I am importing an external XML language file, into Flash. In this XML file are a number of Chinese charaters that I want to use within my GUI.

 

There are a number of text fields that I want these chinese characters to be placed.

 

When I import the XML file using the Locale class, not all the characters appear. Some do but not all.

 

HOWEVER

 

If I manualy place 1 chinese character into each of the text fields at build time, when the XML is imported in at run time, ALL of the chinese characters now display correctly.

 

How is this so?

 

XML details: -  version="1.0" encoding="UTF-8"

CDATA is used to wrap around the chinese characters.

 

Has anyone any ideas here as I would much prefere not to have to place a single chinese character into every text field.

 

Thanks in advance.

 
Replies
  • Currently Being Moderated
    Jun 25, 2010 4:36 AM   in reply to DazFaz

    I think you have to embed the chinese characters in the dynamic textfields

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2010 5:30 AM   in reply to DazFaz

    To use chinese characters you should use embedding characters(Can be done in the flash interface.from the embed fonts select chenese).I think size will increase with 80 kb.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2010 9:39 PM   in reply to DazFaz

    Yes, may some thing wrong.

    For allChinese it is 80kb increase and level 1 traditional chinese 25 kb for me.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points