Wednesday September 21, 2011

UTF-8 All The Way Down

Learned some great stuff about encodings from Jonathan Rentzsch. He shares his experiences making sure your entire technology stack properly supports UTF-8. He even has a test string, “Iñtërnâtiônàlizætiøn”, that he uses. If that string passes all the way through your system and back out unscathed, then you’re set!

Yes, NSStrings are pretty darn good when it comes to handling encodings. But if you’re building a server side component for your hot-awesome-new iOS app, make sure you handle encodings properly. Poor encoding causes confusion. Confusion causes anger. Anger causes war.

Visualize world peace! Support proper encodings!