diff options
author | Teddy Wing | 2023-08-22 20:58:17 +0200 |
---|---|---|
committer | Teddy Wing | 2023-08-22 20:58:17 +0200 |
commit | f79e68b9dc35c51ac61142e1cc952459cc9f4225 (patch) | |
tree | fb4214721267a64845aab8bac830b7309ae1d67d | |
parent | b7e92ec1e0d1031b5ecb91f9653dcc507651d57f (diff) | |
download | Base-Windowed-Application-f79e68b9dc35c51ac61142e1cc952459cc9f4225.tar.bz2 |
Makefile: Convert Localizable.strings to UTF-8
The `genstrings` command only outputs in UTF-16LE character encoding.
However, it's perfectly acceptable to use UTF-8 for a
Localizable.strings file. convert the output file to UTF-8.
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ genstrings: Base.lproj/Localizable.strings Base.lproj/Localizable.strings: $(SOURCES) genstrings -o Base.lproj $^ + mv $@ "$@.utf16" + iconv --from-code=UTF-16 --to-code=UTF-8 "$@.utf16" > $@ + rm "$@.utf16" + .PHONY: clean clean: |