From: Joey Hess Date: Wed, 27 Aug 2008 19:16:02 +0000 (-0400) Subject: specify input encoding for xgettext X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/2bab1389cd70e2056a2309eff74f3b20c4192976 specify input encoding for xgettext Pawel's utf-8 name needs this. --- diff --git a/po/Makefile b/po/Makefile index 084d011f0..ae090ec08 100644 --- a/po/Makefile +++ b/po/Makefile @@ -19,7 +19,7 @@ install: all ikiwiki.pot: $(POTFILES) @if perl -e '($$ver)=`xgettext -V | head -n 1`=~/.*\s+([0-9]+\.[0-9]+)/; die "gettext $$ver too old, not updating the pot file\n" if $$ver < 0.16'; then \ echo "Rebuilding the pot file"; \ - xgettext $(POTFILES) -o ikiwiki.pot -Lperl --add-comments=translators; \ + xgettext --from-code=UTF-8 $(POTFILES) -o ikiwiki.pot -Lperl --add-comments=translators; \ fi clean: