URL: <http://savannah.gnu.org/bugs/?50357>
Summary: xgettext doesn't recognise encoding aliases Python supports Project: GNU gettext Submitted by: gsnedders Submitted on: Sun 19 Feb 2017 10:11:55 PM UTC Category: Python Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Given a file starting with `# coding: utf8` xgettext outputs: xgettext: bar.py:1: Unknown encoding "utf8". Proceeding with ASCII instead. xgettext: Non-ASCII string at bar.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. xgettext should support, for Python code, the same set of aliases as Python does. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50357> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/