From: Michal D. <mi...@me...> - 2017-09-15 15:19:03
|
Hi, I'm not subscribed to the mailing list, just wanted to raise an issue I found while making messages using Django's makemessage command with docutils installed. I'm getting the following message: $ python manage.py makemessages CommandError: errors happened while running xgettext on rst2html5.py xgettext: ./bin/rst2html5.py:2: Unknown encoding "utf8". Proceeding with ASCII instead. xgettext: Non-ASCII comment at or before ./bin/rst2html5.py:3. Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html. It looks like "utf8" is not a valid encoding, surely it should be "utf-8"? -- Michal Dabski Chief Technical Officer MEG Support Tools |