#5875: Non-ascii chars in source code causing UnicodeEncodeError for default 500
error handler, resulting in non-descriptive traceback-only error page
----------------------------+-----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: reopened | Component: Core framework
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------+-----------------------------------------------
Changes (by mtredinnick):
* status: closed => reopened
* resolution: wontfix =>
* stage: Unreviewed => Accepted
Comment:
Aah, I see .. you're talking about when we try to display the 500 error
page (the part that is mentioned in the title and nowhere in the
description).
We should force that to use UTF-8 output, for sure. That will require a
change to !HttpResponse to allow explicit overriding of _charset, but
that's pretty easy.
--
Ticket URL: <http://code.djangoproject.com/ticket/5875#comment:2>
Django Code <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
-~----------~----~----~----~------~----~------~--~---