Flash doesn't care about the encoding given in XML's header, it always
treats the content as UTF-8 (even if it doesn't match the real code
page). Browsers however take the header into consideration, so if
UTF-8 is given there, then they treat the content as UTF-8, and if
ISO-8859-1 is given, then as ISO-8859-1. So, if ISO-8859-1 works well
in browsers, it means that your text is in ISO-8859-1, which is not
suitable for Flash.

The encoding of the text doesn't depend on the header, it is just for
informational purposes for parsers. If you change the header, the
text's encoding remains and doesn't change - just parsers will
interpret the same byte stream differently.

So, you have to make sure to output UTF-8 encoded text with your ASP
application.

  Attila

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to