Creating Multilanguage Text > Text encoding in the Flash Player 6

 

Text encoding in the Flash Player 6

By default, the Flash Player 6 assumes that all text it encounters is Unicode encoded. If your Flash Player 6 movie includes or loads external text or XML files, the text in these files should be Unicode encoded. You should create these files in a text or HTML editor that can save the files in Unicode format, such as Notepad for Windows 2000.

The Flash Player 6 supports the 8-bit Unicode format UTF-8, and the 16-bit Unicode formats UTF-16 BE (Big Endian) and UTF-16 LE (Little Endian). See Unicode encoding formats supported by the Flash Player 6.

If you load external files that are not Unicode encoded, you must set the system.useCodepage property to true. When you do this, the Flash Player 6 assumes all text that it encounters is encoded using the traditional code page of the operating system that is running the player. See Using external text or XML files that are not Unicode encoded.