# Using xml to read from text file returns &apos;

**URL:** <https://forum.kirupa.com/t/using-xml-to-read-from-text-file-returns-apos/72142>\
**Category:** Uncategorized\
**Created:** [December 2, 2004, 4:45pm UTC](https://forum.kirupa.com/t/using-xml-to-read-from-text-file-returns-apos/72142 "2004-12-02T16:45:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icio](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/icio/32/484_2.png) [@icio](https://forum.kirupa.com/u/icio)\
**Post date:** [December 2, 2004, 4:45pm UTC](https://forum.kirupa.com/t/using-xml-to-read-from-text-file-returns-apos/72142/1 "2004-12-02T16:45:01Z")

</div>

i’m using an XML object to load a text file into flash, but the apostraphes in the strings are being returned as ’

how can i change these back into ’ ?  
it does this with other characters too, i was wondering if there was a way other than using a replace function.

thanks :thumb:
