Solved

Unicode in XML and Flash

Posted on 2008-06-23
4
775 Views
Last Modified: 2012-06-27
Hi,

I had a problem with the Unicode in XML and Flash.
I have a data store in the XML file with the unicode format.
Then, I want to make a flash movie to load the data from the xml file but when loading, the font is error, the letters do not show correct.

Here this xml file :

<?xml version="1.0" encoding="UTF-8" ?>
<xmlMenu>

      <menu1 title="Trang Chç" link="index.php" target="_self" mCount="0">
      </menu1>
      <menu2 title="GiÛi ThiÇu" link="about.php" target="_self" mCount="1">
      </menu2>
      <menu3 title="Tin Téc" link="articles.php" target="_self" mCount="1">
      </menu3>
      <menu4 title="DËch Vå" link="services.php" target="_self" mCount="1">
      </menu4>

</xmlMenu>


How can i show the correct this problem

thank you
0
Comment
Question by:sirquykhoa
4 Comments
 
LVL 10

Accepted Solution

by:
margajet24 earned 500 total points
ID: 21844701
have you tried using Unicode Encoding?..  UTF-16?..
0
 
LVL 8

Expert Comment

by:Dreammonkey
ID: 21845199
Maybe you should try to embed the "good" font with the textfield.
Most fonts, I use, don't have these special chars, so they won't show.

search your system for a good font that displays all these characters, and try to embed that ito the textfield.

regards,
D
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now