Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Corona Code Exchange
Started by info576 Jan 22 2014 04:48 AM

25 replies to this topic
[TOPIC CONTROLS]
Page 2 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Pro
  • PipPipPipPipPipPip
  • 128 posts
  • Jedi

OK, problem solved - it tuned out that it was an encoding problem. Rather than UTF-8 the feed was encoding="iso-8859-2" so the characters weren't double byte! The other thing to note is that Polish is "special" and has a set of 18 characters that you need to handle specially (the ones that were encoded) http://en.wikipedia.org/wiki/Polish_code_pages

 

The XML parser was passing them through just fine - I just had to write a function to parse the string looking for these special characters and converting them to a double-byte equivalent.




[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]