Rendering of special characters in dynamic text field

Everything works fine, except, when the text being displayed contains special characters (such as the german umlauts ä, ö, ü) the text is being anti-aliased… anyone a clue?

the text comes from a rss-feed, i tried a local file, utf-8 formatted, but that wouldn’t help. here’s the code:

//gotoAndStop(50);

var loops = true;
var loopstop = false;
var loopCounter = 0;
var ticker_y = 0;
System.useCodepage=true;

tickerformat = new TextFormat();
tickerformat.underline = true;
//tickerformat.bold = true;

function loadXML(loaded) {
if (loaded) {
for (i = 0; i <= 20; i++) {if (this.firstChild.childNodes[0].childNodes*.nodeName == “item”) {item = i;break;}}
for (i = 0; i <= 20; i++) {if (this.firstChild.childNodes[0].childNodes[item].childNodes*.nodeName == “title”) {ti_n = i;break;}}
for (i = 0; i <= 20; i++) {if (this.firstChild.childNodes[0].childNodes[item].childNodes*.nodeName == “link”) {li_n = i;break;}}

nx = this.firstChild.childNodes[0].lastChild.childNodes[0].firstChild.nodeValue;
for (i = 0; i &lt;= 100; i++) {
	ni = this.firstChild.childNodes[0].childNodes*.childNodes[0].firstChild.nodeValue;
	if (ni == nx) {numOfNodes = i-item;lastNode = i;break;}
}
ticker_y = 2-30*numOfNodes;

for (i = 0; i &lt;= numOfNodes; i++) {
	n = "news"+i;
	l = "link"+i;
	_root[l] = this.firstChild.childNodes[0].childNodes[item+i].childNodes[li_n].firstChild.nodeValue;
	ticker.txtbox.attachMovie("newsmaster", n, i);
	ticker.txtbox[n].txt.text = this.firstChild.childNodes[0].childNodes[item+i].childNodes[ti_n].firstChild.nodeValue;
	ticker.txtbox[n].txt.setTextFormat(tickerformat);
	ticker.txtbox[n]._x = 30;
	ticker.txtbox[n]._y = 30 + i * 30;
}	
} else {trace("file not loaded!");}

}

ticker.txtbox.setMask(ticker.tickermask);

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“http://www.1asport.de/enid/rss/1aSport.rss”);

Thank you!

Peter

Now, I found out, that it works, if I embed all (39477) characters… which of course increases the file size dramatically. Including less characters (Latin Basic for example) plus adding them special characters manually won’t work though, the special characters just don’t appear…

Getting nuts here… '*?§"$&%

In case anyone except me cares… it didn’t display the embedded characters because the typography was set to normal (non-bold), but I appllied a textformat to it in ActionScript, making it bold. you have to set the text-field itself to bold, too, or it won’t work…

thanks for listening…

oh… you’re welcome.

thank you.

=)

i thought there wasnt an textfield class bold… i think thats why it didnt work