#9118: Unhelpfull handling of UTF_8 encoding bugs in ModelForm field.help_text
-------------------+--------------------------------------------------------
Reporter: jbl1 | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-------------------+--------------------------------------------------------
I am modifying a field of a model in ModelForm and adding a help_text with
national characters. The declared encoding is UTF_8, but the actual
help_text contains a wrong diacritic (not UTF_8 encoded). The complete
form.as_table within my template called does quietly not render -- it just
doesn't show. The template displays correctly when the diacritic in error
gets removed or corrected.
If I remove the UTF_* coding declaration in the original error situation
then the following is reported:
{{{
Non-ASCII character '\x9c' in file <forms.py pointer removed> on line 43,
but no encoding declared; see http://www.python.org/peps/pep-0263.html for
details (forms.py, line 43)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/9118>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---