Saturday, October 6, 2012

UTF-16 “.strings” Files

Dan Wood:

For years, we’ve followed Apple’s documented recommendation that .strings files should be saved in UTF-16 format […] But this has caused so many headaches, that I finally decided it’s time to defy this recommendation, and go UTF-8 for our .strings files.

Xcode now converts strings files to UTF-16 when building a project, so I now store them in UTF-8, which works better with version control and other tools.

1 Comment RSS · Twitter


Using UTF-8 is so yesterday.

Haven't you noticed that Apple now ships apps with .strings files in binary plist format?

Leave a Comment