#5712: debug.py fails if python source contains wrong encoded strings ---------------------------------------------+------------------------------ Reporter: Thomas Güttler <[EMAIL PROTECTED]> | Owner: nobody Status: new | Component: Uncategorized Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 ---------------------------------------------+------------------------------ Hi,
views/debug.py fails if the python source file contains broken characters. 1. There is no encoding magic line (-*- coding: iso-8859-1 -*-) 2. or the line is there, but there are nevertheless characeters of a different encoding. The small patch defaults to ascii encoding, giving the unicode method the "replace" argument. -- Ticket URL: <http://code.djangoproject.com/ticket/5712> 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 -~----------~----~----~----~------~----~------~--~---
