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.
This commit is contained in:
Chris Mayo 2022-10-31 19:39:15 +00:00
parent b796cec346
commit 189cd35fdf

View file

@ -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)