From 189cd35fdf096cbb0ac2b54c8a051f3e3a30b3a5 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 31 Oct 2022 19:39:15 +0000 Subject: [PATCH] Specify source encoding to xgettext Default is ASCII. xgettext: Non-ASCII string at ../linkcheck/htmlutil/srcsetparse.py:39. Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html. --- po/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/po/Makefile b/po/Makefile index c7ed5132..9d16b4ef 100644 --- a/po/Makefile +++ b/po/Makefile @@ -19,6 +19,7 @@ $(TEMPLATE): $(POSOURCES) $(XGETTEXT) -w 80 --default-domain=$(PACKAGE) --language=Python \ --copyright-holder="Bastian Kleineidam <$(MYMAIL)>" \ --package-name=LinkChecker \ + --from-code=UTF-8 \ --msgid-bugs-address=$(BUGSURL) -o $(TEMPLATE) \ --keyword=_n:1,2 $(POSOURCES)