# Can't embed characters and then read from xml file

**URL:** <https://forum.kirupa.com/t/cant-embed-characters-and-then-read-from-xml-file/211845>\
**Category:** Uncategorized\
**Created:** [January 5, 2007, 6:08pm UTC](https://forum.kirupa.com/t/cant-embed-characters-and-then-read-from-xml-file/211845 "2007-01-05T18:08:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alapimba](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@alapimba](https://forum.kirupa.com/u/alapimba)\
**Post date:** [January 5, 2007, 6:08pm UTC](https://forum.kirupa.com/t/cant-embed-characters-and-then-read-from-xml-file/211845/1 "2007-01-05T18:08:25Z")

</div>

Hello, i have a xml file and i want to read it on flash but i’m portuguese so i need to be able to use some characters that are not working…  
like this: âààùæçéèêëîïôœùûü«»ÜÛÙŒÔÏÎËÊÈÉÇÆÄÂÀ

here is my xml file:

```auto
<adams>
<user><numero>ricardo jerónimo</numero><embalagens>300</embalagens></user>
<user><numero>Rogério Machado</numero><embalagens>27</embalagens></user>
<user><numero>nome2</numero><embalagens>24</embalagens></user>
</adams>

```

and i’m getting the xml to flash using this:

```auto
function loadXML(loaded) { 
if (loaded) {
 //nomes concorrentes
primeiro = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
segundo = this.firstChild.childNodes[1].childNodes[0].firstChild.nodeValue; 
terceiro = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;
 
} else { 
  trace("file not loaded!"); 
} 
} 
xmlData = new XML(); 
xmlData.ignoreWhite = true; 
xmlData.onLoad = loadXML; 
xmlData.load("simple_edit.xml");

```

I’m adding the special characters clicking on the dynamic field and clicking embed, include this characters “âààùæçéèêëîïôœùûü«»ÜÛÙŒÔÏÎËÊÈÉÇÆÄÂÀ”

I’m doing something wrong?
