Re: Python3 + makemessages = "invalid multibyte sequence"

2016-05-03 Thread Torsten Bronger
Hallöchen!

Torsten Bronger writes:

> With Django 1.9.5 and Python 3, I get warnings like
>
> ./jb_common/templates/404.html.py:35: invalid multibyte sequence
>
> when I run "manage.py makemessages".  The problem occurs only in
> HTML files with (validly) UTF-8-encoded characters in them.  In
> the .po file, these characters are skipped.  How can I fix this?
>
> The problem does not occur with Python 2.

This seems to be the issue:
https://code.djangoproject.com/ticket/26093

Tschö,
Torsten.

-- 
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/87d1p3tjrk.fsf%40physik.rwth-aachen.de.
For more options, visit https://groups.google.com/d/optout.


Python3 + makemessages = "invalid multibyte sequence"

2016-05-02 Thread Torsten Bronger
Hallöchen!

With Django 1.9.5 and Python 3, I get warnings like

./jb_common/templates/404.html.py:35: invalid multibyte sequence

when I run "manage.py makemessages".  The problem occurs only in
HTML files with (validly) UTF-8-encoded characters in them.  In the
.po file, these characters are skipped.  How can I fix this?

The problem does not occur with Python 2.

Tschö,
Torsten.

-- 
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/87zis81iwk.fsf%40physik.rwth-aachen.de.
For more options, visit https://groups.google.com/d/optout.