Flash XML Chinese garbled characters

Source: Internet
Author: User
Hakuci tags: Flash, XML, Chinese garbled characters


How to avoid displaying Chinese characters or garbled characters when interacting with XML in Flash

1. Remove all system. usecodepage = true;
Many people cannot tell Chinese characters.Code, System. usecodepage = true; System encoding is used instead of eliminating garbled characters. if the system is gb2312 and you load gb2312, it will not be garbled. But what if there is Korean load ?? The result is still garbled.

2, XML with UTF-8 encoding, file storage also uses UTF-8 Encoding
It is a good habit to use UTF-8 encoding to display Chinese characters normally without garbled characters due to English or other characters.

3. are dynamic text embedded characters?
Select the dynamic text of Chinese characters that cannot be normally displayed in FLA. Click the "embed" button on the property panel to open the Embedded Panel and find that embedded characters are set, click "Do not embed" in the lower left corner of the embedded panel ..
PS: Many people can embed Chinese characters when they do not display Chinese characters. This method is very effective in their spare time, but the drawback is that your Flash files have been expanded several times. This method is really undesirable!

4. Check whether the text box font supports displaying Chinese characters.
Many people have changed the source code from outside China. After making the changes to the above points, they find that they still cannot be displayed. A careful friend can check whether the text font supports Chinese characters, therefore, we recommend that you change it to a standard font such as "Al" or "Arial!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.