# Truble with escape()

**URL:** https://forum.kirupa.com/t/truble-with-escape/153520
**Category:** Uncategorized
**Created:** [July 2, 2005, 1:47am UTC](https://forum.kirupa.com/t/truble-with-escape/153520 "2005-07-02T01:47:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Dulcinea](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@Dulcinea](https://forum.kirupa.com/u/Dulcinea)
#### Post date: [July 2, 2005, 1:47am UTC](https://forum.kirupa.com/t/truble-with-escape/153520/1 "2005-07-02T01:47:25Z")

</div>

I have a xml file encoded with the flash “escape” function  
(here [http://www.fotosnostalgicas.smartworks.com.mx/prueba/tagboard.xml](http://www.fotosnostalgicas.smartworks.com.mx/prueba/tagboard.xml))  
there is no problem because I read it in flash and I can unescape it there.  
but when I read it in a html document and try to unescape it with javascript it doesn’t works…  
looks like the encoding of flash and javascript are diferent  
you can see this string has been “escaped” with flash:

```auto
qu%C3%A9%20sucede%20con%20ustedes%20%C3%91%C3%91%C3%91%C3%91%C3%91%C3%91%C3%91//var men = "qu%C3%A9%20sucede%20con%20ustedes%20%C3%91%C3%91%C3%91%C3%91%C3%91%C3%91%C3%91

```

and this with javascript:

```auto
qu%E9%20sucede%20con%20ustedes%20%D1%D1%D1%D1%D1%D1%D1%D1 

```

is the same message but looks diferent.  
¿how can I do to read the encoding of flash in html?  
¿maybe I have to use php?
