I have a UTF-8 encoded XML file containing Russian characters that I need to import into Flash for use in a dynamic text field.
I have embedded the characters I need, but Flash throws up an error as soon as I include any Russian characters in the XML.
Is there a way to define the character encoding in Flash when parsing the XML?
Currently my Flash file imports the XML like this:
// xml object / ignorewhite
xml = new XML();
xml.ignoreWhite = true;
//load object for parsing
xml.onLoad = function(sucess) {
if (sucess) {
storeAll(xml);
}
};
// load XML
xml.load(‘data.xml’);