Convert *.strings to UTF-16 at build time.
commit7b02e3ff704d028fea8653ff63139c674c3226b3
authorKalle Olavi Niemitalo <kon@iki.fi>
Wed, 31 Oct 2007 20:39:19 +0000 (31 22:39 +0200)
committerKalle Olavi Niemitalo <kon@hanna-niemitalo.niemitalo.local>
Wed, 31 Oct 2007 20:39:19 +0000 (31 22:39 +0200)
tree5c780e6aeb1f03b3d199f87144c4aae339ff6a89
parent2443518c244a4618f5c0c6d0d6ad1d5312619302
Convert *.strings to UTF-16 at build time.

<http://developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/Articles/StringsFiles.html>
"Note: Strings files encoded using UTF-8 are not guaranteed to work.
When in doubt, encode the file using UTF-16."

However, Git does not display readable diffs for UTF-16 files.
So keep *.strings files as UTF-8 in the source tree, but convert
them to UTF-16 during the build.

Not all the strings files in the source tree are in UTF-8 yet,
and not all of the UTF-8 ones begin with a byte-order mark.
I intend to convert files to UTF-8 with BOM as I modify them.
MacTF.xcodeproj/project.pbxproj
to-UTF-16.pl [new file with mode: 0755]