diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rwxr-xr-x | src/lib/librexgettext | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -54,7 +54,7 @@ $(addprefix clean-, $(packages)): clean-%: PHONY $$(addsuffix /clean, $$($$* $(addprefix pot-, $(packages)): pot-%: PHONY po/%.pot $(addprefix pot-, $(packages)): pot-%: PHONY po/%.pot $(foreach p,$(packages),po/$p.pot): po/%.pot: $$(addsuffix /everything.pot,$$($$*)) - cat $^ | msguniq -Fi > '$@' || rm -f '$@' + cat $^ | msguniq -Fi --to-code=UTF-8 > '$@' || rm -f '$@' ################################################################################ @@ -26,7 +26,7 @@ indent = emacs --batch $1 \ # Usage <INPUT $(pofmt) >OUTPUT # Normalize a .po(t) file -pofmt = msguniq -Fi +pofmt = msguniq -Fi --to-code=UTF-8 # Usage: as a variable # relative path to `/` from $(bindir) diff --git a/src/lib/librexgettext b/src/lib/librexgettext index 17345cb..22a6df2 100755 --- a/src/lib/librexgettext +++ b/src/lib/librexgettext @@ -157,7 +157,7 @@ main() { xgettext-sh "${simple[@]}" -- "${files[@]}" xgettext-sh "${prose[@]}" -- "${files[@]}" | whitespace-collapse xgettext-flag -- "${files[@]}" - } | sed '/^\#, sh-format/d' | msguniq -Fi + } | sed '/^\#, sh-format/d' | msguniq -Fi --to-code=UTF-8 } main "$@" |