zeech26
08-05-2009, 04:39 PM
It worked when I changed my font to a _sans
Hello!
I am running into a bit of a wall here.
I have built a website that pulls languages from multiple XML sources.
I have been able to do Russian, Spanish, French, English and Italian, now I am stuck on Japanese.
This AS calls the XML text:
stop();
my_xml = new XML();
my_xml.load("xml/jp/jp_dive_text_galleries.xml");
my_xml.onLoad = my_function;
my_xml.ignoreWhite = 1;
function my_function() {
acc_mc.accomodations.html = true;
acc_mc.accomodations.htmlText = my_xml.firstChild.childNodes[0].firstChild.nodeValue;
system.useCodepage = true;
}
Here is a short example of my XML file:
<?xml version="1.0" encoding= "UTF-8" ?>
<texts>
<text><![CDATA[<b><font size="18">情報および予約</font></b>]]></text>
</texts>
In my flash file, I embedded the following characters in my dynamic text box:
Numerals (0..9)
Punctuation...
Basic Latin...
Japanese Kana...
Japanese Kanji..
Japanese all...
When I publish and post live, I see boxes this in place of my japanese characters:
Strangely, when I just copied and pasted the boxes from my dynamic text box into this document, they showed up in Japanese...
I am doing something wrong!
Any input would be greatly appreciated!
Cheers
Zack
Hello!
I am running into a bit of a wall here.
I have built a website that pulls languages from multiple XML sources.
I have been able to do Russian, Spanish, French, English and Italian, now I am stuck on Japanese.
This AS calls the XML text:
stop();
my_xml = new XML();
my_xml.load("xml/jp/jp_dive_text_galleries.xml");
my_xml.onLoad = my_function;
my_xml.ignoreWhite = 1;
function my_function() {
acc_mc.accomodations.html = true;
acc_mc.accomodations.htmlText = my_xml.firstChild.childNodes[0].firstChild.nodeValue;
system.useCodepage = true;
}
Here is a short example of my XML file:
<?xml version="1.0" encoding= "UTF-8" ?>
<texts>
<text><![CDATA[<b><font size="18">情報および予約</font></b>]]></text>
</texts>
In my flash file, I embedded the following characters in my dynamic text box:
Numerals (0..9)
Punctuation...
Basic Latin...
Japanese Kana...
Japanese Kanji..
Japanese all...
When I publish and post live, I see boxes this in place of my japanese characters:
Strangely, when I just copied and pasted the boxes from my dynamic text box into this document, they showed up in Japanese...
I am doing something wrong!
Any input would be greatly appreciated!
Cheers
Zack