Hello :)

if you can change you DOM to create a localization pattern in your
application.. you can use my Eden localization model based on my OpenSource
framework (VEGAS : http://vegas.riaforge.org/) and the EDEN format (
http://code.google.com/p/edenrr/)

You can install my framework and use the Eden implementation based on VEGAS
:

0 - Download VEGAS or use a SVN client (like tortoiseSVN)

1 - install the vegas source project in the AS2 preference of Flash or if
you use MTASC add the AS2/trunk/src package.

2 - try the example based on Eden in the directory :
AS2/trunk/bin/test/asgard/system

http://svn.riaforge.org/vegas/AS2/trunk/bin/test/asgard/system/

The example "Localization 02 -
Eden.fla<http://svn.riaforge.org/vegas/AS2/trunk/bin/test/asgard/system/Localization%2002%20-%20Eden.fla>"
use the EDEN external file :
http://svn.riaforge.org/vegas/AS2/trunk/bin/test/asgard/system/deploy/locale/localize_fr.eden

The Eden format is a format based on ECMAScript and ActionScript notation !
You must create a empty UTF8 text file and creates inside an easy object :)

For me this method is better like XML and this CDATA ;)

EKA+ :)


2007/3/20, Steven Sacks | BLITZ <[EMAIL PROTECTED]>:

Hey Flashcoders,

I'm having an issue with special characters not showing up from other
languages, such as German (ü, ö, etc.).  The issue is specifically with text
loaded in from XML.

The textfields are set to embed all latin glyphs (1076 glyphs, Uppercase,
Lowercase, Numerals, Punctuation, Latin I, Latin Extended A, Latin Extended
B, and Latin Extended Add'l).

All text is wrapped in CDATA tags.

I've tried saving the xml file with 8 bit and UTF-8 encoding and neither
works.

XML header is
<?xml version="1.0" encoding="UTF-8" ?>

If I set the text of the textfield with Actionscript to a string with
those characters in it, no problem, they all show up just fine.

// This works
txt.htmlText = "wofür benötigen";

However, when I display it from the XML, they show up as regular o and u
characters.

// Does not work
<item><![CDATA[wofür benötigen]]></item>

Any ideas?

Thanks,
Steven
_______________________________________________
[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