Question: So NSXMLParser has problems parsing strings using the Windows-1252 encoder. Now I did find a solution on this page to convert it to NSUTF8StringEncoding. But now it bumps into characters it can't parse.

So I figured out that it will work if I would escape special characters and then transfer it back after parsing it. For example:

```
string = [string stringByReplacingOccurrencesOfString:@":" withString:@"__58__"];

```

Since it is allowed to use the \_ character without getting a parser error and in NSXMLParser I can transfer the value back to it's proper character.

So is there a way I can loop through all ASCII character so I can replace all special characters (Except <, > and \_ of course)?

Answer: 
Set inverse to false for <map> element.
> 
> -Btw, don't answer to your question if you are actually commenting to an
>  answer. You could be down-voted
> 
> 
> 

-The problem is that I have no stackoverflow account, so only one way to login to site on the same name is to enter name and email under my post. I try to register account on that site with the same name and email, but when I log in it treats me as new user (not as I login fist time).  

So I have no choice. 

Also I find out that working code is 

```
<map name="Urls" lazy="true" cascade="all-delete-orphans" inverse="true">

```

without inverse="true" it doesn't work.