Michael Waterfall

Web & iOS Developer • Life Hacker

Posts tagged Cocoa

0 notes

Characters and Encodings

A fascinating article by Mike Ash explaining in great detail the concepts of characters and encodings. He discusses ASCII, ASCII compatibility, Latin-1 (ISO-8859-1, Windows-1252, ISO 8859-1), Unicode and UTF-8/16/32. There’s also useful information on NSString’s and how best to decode NSData bytes when the correct encoding isn’t known.

Filed under Development Cocoa