PDA

View Full Version : Special caracters encoding problem


Vincent_22
10-11-06, 08:46 AM
I coded an xml with company names and their respective url. This xml will be free to use by anyone. My problem is that some data contain the (&) caracter and the xml is encoded in utf-8. The xml is fine but if someone want to import it in flash the (&) is converted to (&) but I want it to be (&) only. I've tried everything I know but this exceed my knowledge. Here and example:
<option>
<symbol>XIU</symbol>
<descriptionFr>iShares CDN S&P/TSX60 Index Fund</descriptionFr>
<descriptionEn>iShares CDN S&P/TSX60 Index Fund</descriptionEn>
<
</option>
Thanks in advance.

UnrealEd
10-26-06, 06:20 PM
Does it really matter? I thought you HAD to convert the ampersand to &amp; in XML.

You could simply replace the &amp; in flash. check out the livedocs for a replace function in flash (there isn't one built in, but i thought there was one posted)

Greetz and good luck,
UnrealEd