Extremely urgent unicode issue

I download a json feed from a server, then decode it and when I try to put text into the window, I get nothing because the string contains Norwegian characters.

When I manually type the characters into my lua file, they do get displayed. I think it is the json interpreter that is messing everything up.

When I type out the contents I download as text, I get all norwegian characters, once they are decoded I get "?" instead.

Any plans for a fix ? I of course need to submit my app to apple today, this was just last minute changes when I found this out.

Just posting that I have solved the issue. This requires manually fixing the unicoded characters like this

1
2
3
4
5
6
7
                        contents = fh:read()
                        contents = contents:gsub("\u00c5", "Å")
                        contents = contents:gsub("\u00d8", "Ø")
                        contents = contents:gsub("\u00c6", "Æ")
                        contents = contents:gsub("\u00e5", "å")
                        contents = contents:gsub("\u00e6", "æ")
                        contents = contents:gsub("\u00f8", "ø")
views:1333 update:2011/10/16 9:47:44
corona forums © 2003-2011