Are you sure that the font supports é. If you are using unique font sets
then they may not be in the font set. An easy way to test is to just create
a static field in the flash file and cut and paste the text from the xml
into the textfield and see if the character displays.

What font are you using?

I do a lot of translation stuff and can send over an example file in French
if you need. Try the above first though.

Cheers

M

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman
Sent: 23 July 2007 08:22
To: Flashcoders mailing list
Subject: [Flashcoders] Display Non-English Characters from XML?

I am having trouble getting non-English 
characters to show up in Flash when they're read 
from an XML doc. For example, the French e with 
accent, as in resume (résumé). Here's what my xml 
doc looks like -- seems I'm doing something 
wrong, but I can't figure out what. By the way, 
I'm saving it as UTF-8. Can anyone give me an 
example of a non-English xml doc that gets 
displayed correctly in Flash using non-English 
characters? I need to create localized versions 
for French, Chinese (simple), Chinese 
(traditional), Korean, Japanese, and several other languages.

============== XML =================

<?xml version="1.0" encoding="utf-8" xml:lang="fr"?>
<questions>

<question>
<qText><![CDATA[Quels sont les objectifs de cette formation ?]]></qText>
<qAnswers>
<qAns num="0"><![CDATA[a. M’aider à comprendre 
les règles et les politiques clés pour que je fasse les bons choix]]></qAns>
<qAns num="1"><![CDATA[b. Fournir des exemples 
concrets des domaines à risque]]></qAns>
<qAns num="2"><![CDATA[c. Renforcer l’idée que le 
respect des lois et politiques de Microsoft n’est pas négociable]]></qAns>
<qAns num="3"><![CDATA[d. M’aider à identifier 
les problèmes clés de conformité]]></qAns>
<qAns num="4"><![CDATA[e. Toutes les réponses ci-dessus]]></qAns>
</qAnswers>
<qCorrect>4</qCorrect>
</question>

</questions>
==============  end XML =================

Thanks!

Marc Hoffman 
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to