PDA

View Full Version : Special letters using loadVar



RealTK
February 20th, 2003, 06:59 PM
Does anyone know how to get loadVar to read special characters
like ä and ö when using it to read from a textfile?? :sure:

CyanBlue
February 20th, 2003, 07:36 PM
See this (http://www.actionscript.org/forums/showthread.php3?s=&threadid=22749) and this (http://www.kirupa.com/developer/mx/international_characters.htm)...

h88
February 20th, 2003, 07:50 PM
why you shouldn't use System.useCodePage?

http://moock.org/asdg/technotes/againstUseCodePage

CyanBlue
February 20th, 2003, 08:42 PM
Hm... Interesting... Thanks for the info, h88... :)

RealTK
February 20th, 2003, 11:07 PM
How is this actually done?
I tried using the hex numbers inside the text files but flash displayed the numbers, not the character. :sigh:
Can anyone explain to me plain and simple on how I can get an ä and an ö character
to display on a text that has been loaded from a textfile inside a dynamic textbox?

h88
February 21st, 2003, 12:08 PM
If you want to have 'ä' in flash, then you should use: %E4 in your textfile:

&avariable=%E4 what ever

implies to:

&avariable=ä what ever

List of these characters can be found at:

http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm