Forum Moderators: open
If I encode with ANSI, all is ok except the special characters.
The moment I encode as UTF-8, a special "." character shows up at the beginning of the textfield which is not in the .txt file.
I don't know what to do? Please help.
I am using Flash MX 2004, loading the .txt files with the code:
//
var lvData:LoadVars = new LoadVars ();
lvData.onData = function(sData:String):Void {
referencesText.htmlText = sData;
};
lvData.load("content/texts/references-html.txt");
stop();
//
and enconding the files with Notepad on Windows XP Professional.
Thank you
Flash can be set to use double byte japanese characters by this method so I would be pretty certain it can do what you need it to.
Embeded Latin Extended A (548 glyphs) and the text does not show at all.
Meanwhile I discovered that in Mac OSX, both Safari and Explorer do not show the strange "." character that I get in Windows, IE.
So for mac, what I did is enough, but somehow for PC is not.
I have tried using other Text Editors besides Notepad, but the result is the same.
Thank you for your help anyway.