#28773: manage.py makemessages throws syntax error due to incorrectly generated django.pot -------------------------------------+------------------------------------- Reporter: Hendy Irawan | Owner: nobody Type: Bug | Status: new Component: | Version: 1.11 Internationalization | Severity: Normal | Resolution: Keywords: gettext, | Triage Stage: makemessages, Windows | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Hendy Irawan): Okay, I'm trying to create a sample project, but now I run into this: (https://github.com/pypa/pip/issues/4076, https://github.com/gsnedders /python-webencodings/pull/9) {{{ xgettext: .\venv\Lib\site-packages\pip\_vendor\webencodings\__init__.py:1: Unknown encoding "utf8". Proceeding with ASCII instead. xgettext: Non-ASCII string at .\venv\Lib\site- packages\pip\_vendor\webencodings\__init__.py:64. Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html. }}} What's the official way to resolve this in Django? -- Ticket URL: <https://code.djangoproject.com/ticket/28773#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.fdb5130dd2c881100cbb12d88d7e1ea0%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.