# \[AS2, XML\]Flash, UTF-8 encoding

**URL:** <https://forum.kirupa.com/t/as2-xml-flash-utf-8-encoding/260823>\
**Category:** flash\
**Created:** [May 20, 2008, 8:47am UTC](https://forum.kirupa.com/t/as2-xml-flash-utf-8-encoding/260823 "2008-05-20T08:47:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![komapeb](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@komapeb](https://forum.kirupa.com/u/komapeb)\
**Post date:** [May 20, 2008, 8:47am UTC](https://forum.kirupa.com/t/as2-xml-flash-utf-8-encoding/260823/1 "2008-05-20T08:47:53Z")

</div>

Hi!  
Is there an embeded function in flash which can decode an utf-8 encoded strings. The strings are loaded from XML.  
I don’t want to change the XML file because it’s created dynamically with PHP and I need strings to be utf-8 encoded so PHP can read them. I’ve read many articles about saving a utf-8 encoded XML file with PHP, but it seems like there is a bug with PHP. So i decided to remake all the things and now I have to deal with flash.  
Thanks in advance.
