Unknown encoding "utf8" in tests/regressiontests/views/__init__.py
|Reported by:||davidbarnett2@…||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I need to recompile the language pack for the OSQA system, but get this message:
Error: errors happened while running xgettext on __init__.py xgettext: ./Django-1.2.3/tests/regressiontests/views/__init__.py:1: Unknown encoding "utf8". Proceeding with ASCII instead. xgettext: Non-ASCII string at ./Django-1.2.3/tests/regressiontests/views/__init__.py:7. Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html.
I think this is purely a matter of changing "utf8" to "utf-8" in that one file. I grepped and didn't find "coding: utf8" in any other files.