Django Makemessages CommandError ASCII 编码
Django Makemessages CommandError ASCII Encoding
locale/django.po 文件有 7868 行。有时 makemessages 命令有效,有时它会抛出此错误:这很奇怪,因为在错误中总是提到不同的行 django.pot。
并且不要忘记它有时使用相同的代码,所以代码应该没问题
manage.py makemessages -l de
CommandError: errors happened while running msguniq
/app/xxx/locale/django.pot:1871: /app/xxx/locale/django.pot: input is not valid in "ASCII" encoding
正如 Andrey Shipilov 在评论中提到的,从 http://code.djangoproject.com/ticket/29452
开始,这似乎已在 Django 2.1 中修复
locale/django.po 文件有 7868 行。有时 makemessages 命令有效,有时它会抛出此错误:这很奇怪,因为在错误中总是提到不同的行 django.pot。 并且不要忘记它有时使用相同的代码,所以代码应该没问题
manage.py makemessages -l de
CommandError: errors happened while running msguniq
/app/xxx/locale/django.pot:1871: /app/xxx/locale/django.pot: input is not valid in "ASCII" encoding
正如 Andrey Shipilov 在评论中提到的,从 http://code.djangoproject.com/ticket/29452
开始,这似乎已在 Django 2.1 中修复