Unicode issue in rst2html5 utility

Michal Dabski <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <CAENLD=wfVmDq39X8eHgK5xKFn3xd3xEqWnkg2dnkLDxG+qmZng@mail.gmail.com>
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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.