From 13c65278d22e6c7f550a7a69889d2d8038000751 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 30 Aug 2010 15:27:57 +0000 Subject: [PATCH] Makefile: tell xgettext(1) that our source is in UTF-8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit By default xgettext(1) assumes that source code is in US-ASCII, change that to UTF-8 for our case. I'm not planning to include non-ASCII in any of the main Git interface strings. But this'll be used for a gettext regression test to make sure this works if we ever want to go this route, and to check that the gettext implementation is sane in this regard. Signed-off-by: Ævar Arnfjörð Bjarmason --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8650eb12e..8b895445f 100644 --- a/Makefile +++ b/Makefile @@ -2022,7 +2022,7 @@ cscope: $(RM) cscope* $(FIND) . -name '*.[hcS]' -print | xargs cscope -b -XGETTEXT_OPTIONS = --add-comments --msgid-bugs-address="Git Mailing List " +XGETTEXT_OPTIONS = --add-comments --msgid-bugs-address="Git Mailing List " --from-code=UTF-8 pot: $(XGETTEXT) $(XGETTEXT_OPTIONS) --keyword=_ --keyword=N_ --output=po/git.pot --language=C $(C_OBJ:o=c) t/t0200/test.c $(XGETTEXT) $(XGETTEXT_OPTIONS) --join-existing --output=po/git.pot --language=Shell $(SCRIPT_SH) t/t0200/test.sh -- 2.30.2