XML.Lua not accent sensitive

Hi!! I really need help on this.

I send text to the app via xml. But a lot of this texts have accents, and the xml.lua transform them into strange characters. I’ve tried to search everywhere if there is a way to change them, but without any success.

If anyone could help, will be great!

Thanks!

I have the same problem, and can’t manage to solve it. Only change the character with the accent, to a character without the accent

In my RSS feed version I strip the characters out and covert them to ASCII characters, but I had to do that because I can’t control the creation of the RSS feed.  If you have access to what generates the source XML the make sure the text is wrapped inside of CDATA tags and that should pass it through without need to fix it.  Non ASCII characters are invalid XML markup and I would advise trying to use an XML validator on your source and getting your source cleaned up before you try to parse it with the xml.lua file.

CDATA tags are your friend here.

I have the same problem, and can’t manage to solve it. Only change the character with the accent, to a character without the accent

In my RSS feed version I strip the characters out and covert them to ASCII characters, but I had to do that because I can’t control the creation of the RSS feed.  If you have access to what generates the source XML the make sure the text is wrapped inside of CDATA tags and that should pass it through without need to fix it.  Non ASCII characters are invalid XML markup and I would advise trying to use an XML validator on your source and getting your source cleaned up before you try to parse it with the xml.lua file.

CDATA tags are your friend here.

HI! I didn´t understand very well… how can I solve this problem. where can I see your RSS Feed?.. Thanks!!!

https://github.com/coronalabs/business-app-sample

Thanks! I’ll check your example!

HI! I didn´t understand very well… how can I solve this problem. where can I see your RSS Feed?.. Thanks!!!

https://github.com/coronalabs/business-app-sample

Thanks! I’ll check your example!