From b4dd66cd6ca87f6443ad2f02ed5c5b363baae2f5 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Thu, 28 Jul 2016 10:13:00 +0200 Subject: [PATCH] Make sure POT file is flagged as UTF-8. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5fcc20f..79aef30 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ all: The_Relativity_of_Wrong.nb.txt The_Relativity_of_Wrong.pot: The_Relativity_of_Wrong.txt - po4a-gettextize -f text -m The_Relativity_of_Wrong.txt > $@.new && mv $@.new $@ + po4a-gettextize -f text -m The_Relativity_of_Wrong.txt \ + -M UTF-8 -L UTF-8 --package-name "Relativitiy of Wrong" \ + | sed 's/CHARSET/UTF-8/' > $@.new && mv $@.new $@ The_Relativity_of_Wrong.nb.po: The_Relativity_of_Wrong.pot po4a --no-translations --msgmerge-opt --no-location po4a.cfg -- 2.47.2