PDA

View Full Version : load("*.txt") ,characters such as åäö shows up as squares?


Clox
09-13-2005, 02:57 PM
pretty much what the title says..

im making a swf-gallery which loads images and descriptions externally.
typing URL's and descriptions in a *.txt file.
everything works good so far, until i put in some text in the txt containing ÅÄÖ and such.. they show up as squares in flash..

is there any way to fix this?

thanks

Clox
09-13-2005, 03:15 PM
searched some on macromedias site and found out about URL encoding..
and they had a list of what to type for each special character. but none for åäöÅÄÖ.
so i googled for url encoding åäö and found the codes..
tried the codes, but it wouldnt work :(

Clox
09-13-2005, 04:34 PM
yey, i solved it! :D

all i had to do was saving the txt file with UTF-8 as the character set.

works perfect now :p