30-Second Flex 3.0 Localization MUST-READ.
Posted by Joe Rinehart at 4:04 PM
3 comments - Categories:
Flex
I apologize for the all caps.
I'm doing some internationalization work in Flex 3, and I wanted to save you the headache I just encountered.
If you define a .properties file where you have strings using localized characters (e.g., "EspaƱol"), you may wind up seeing those strings show up in Flex without their special characters, looking something like "Espa?ol."
Making a long story short, if you've got Flex Builder installed, make sure the file encoding (Preferences -> Content Types -> "Default encoding:") is set to UTF-8 as Flex expects! I've got Java development tools installed, so I had to modify the encoding of the Text -> Java Properties File type. It was ISO-something. Changing it to UTF-8 = all happy!
matthew horn wrote on 01/22/08 4:36 PM
Thanks for pointing this out. I will add a note to the documentation on L10N.