Re: [Django] #28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore

2017-04-05 Thread Django
#28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore
---+--
 Reporter:  Thomas Kähn|Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  contrib.admin  |  Version:  1.11
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Thomas Kähn):

 Hi,

 thank you very much for the hints and link to the commit. I can also
 confirm that the problem is gone when using Unicode strings.

 Best regards
 Thomas

--
Ticket URL: 
Django 
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/064.b1a2f219416bd2b236599c8711b6de51%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore

2017-04-05 Thread Django
#28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore
---+--
 Reporter:  Thomas Kähn|Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  contrib.admin  |  Version:  1.11
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Confirmed that a UTF=8 encoded bytestring is needed to reproduce the
 crash.

 For the record, the commit that introduced the change is
 2315114090815aed72be2b9bc936d7b6374f12fc.

--
Ticket URL: 
Django 
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/064.236b38663eb76c16593fcb309fc6184c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore

2017-04-05 Thread Django
#28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore
---+--
 Reporter:  Thomas Kähn|Owner:  nobody
 Type:  Bug|   Status:  new
Component:  contrib.admin  |  Version:  1.11
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Claude Paroz):

 Is your UTF-8 content inside a Unicode string, or is it a bytestring?
 If you put UTF-8 encoded content as a bytestring, I would call that a
 programming error on your side. If it worked before, it was purely by
 accident.

--
Ticket URL: 
Django 
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/064.9ffb2501cde6182a4e0b21ee0f2b6ea5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore

2017-04-05 Thread Django
#28027: UTF-8 in help_text in models.ManyToManyField doesn't work anymore
-+
   Reporter:  tkaehn |  Owner:  nobody
   Type:  Bug| Status:  new
  Component:  contrib.admin  |Version:  1.11
   Severity:  Normal |   Keywords:
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 Hi,

 since Django 1.11 UTF-8 text in help_text in models.ManyToManyField
 results in UnicodeDecodeError:

 'ascii' codec can't decode byte 0xc3 in position 33: ordinal not in
 range(128)

 Error during template rendering

 In template [...]/python2.7/site-
 packages/django/contrib/admin/templates/admin/includes/fieldset.html,
 error at line 7

 In Django 1.10 UTF-8 in help_texts worked fine. In other fields in Django
 1.11 it is possible to use UTF-8 in help_texts.

 I am using Python 2.7.

 Best regards
 Thomas

--
Ticket URL: 
Django 
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/049.e78d832b4ad4b1aa3fd0880bdfc94c86%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.