Cocoanetics/DTLocalizableStringScanner — pull request #5 by danwood (2012-10-07 16:49:48+00:00)
Title: Add -utf8 output option

I had written a [blog post](http://gigliwood.com/blog/to-hell-with-utf-16-strings.html) about how troublesome it is to handle UTF-16 .strings files in my source tree. I've decided to store my strings files as UTF-8 to eliminate confusion with endian issues, and also so that these files can actually be diff'd in GitHub rather than appearing as binary blobs.

The final remaining step has been to somehow override genstrings' propensity to output in UTF-16. That means that I'd have to follow up with a conversion to UTF-8 so that my generated strings files (which I store in my source tree) don't get changed into UTF-16.

I've added UTF-8 output as an option to the demo "genstrings2" here, to make that step easier. Maybe others will find it useful as well. Yes, this extends the abilities of genstrings. Hopefully that is OK.