Groups | Blog | Home
all groups > flash data integration > january 2005 >

flash data integration : Special characters when xml is created in flash


sashmash
1/26/2005 6:44:07 PM
User enters text using input field, string is stored as a text node in xml
document (I use createTextNode()). If special characters like ' (apostrophe)
appear in the string - it is converted to ' in xml. Is there any way
to avoid this? Problem is, that when next time I call for stored data, input
field displayes ' instead of '
Loxam
2/7/2005 5:03:57 PM
By default Flash mx 2004 store data on UTF-8 encoding. If you store it with
a PHP script don't forget to use the function iconv("UTF-8", "ISO...", txt)
when you save the data and the function iconv("ISO...", "UTF-8", txt) when
you load data in Flash.



[quoted text, click to view]

AddThis Social Bookmark Button