#4249: Unicode branch: views/debug.py did not read encoding (# -*- coding: iso-
8859-1 -*-)
---------------------------------------------+------------------------------
Reporter:  Thomas Güttler <[EMAIL PROTECTED]>  |       Owner:  jacob          
  Status:  new                               |   Component:  Uncategorized  
 Version:  other branch                      |    Keywords:  unicode PEP0263
   Stage:  Unreviewed                        |   Has_patch:  1              
---------------------------------------------+------------------------------
 Hi,
 
 here is a small patch. views/debug.py failed to display the
 traceback because the file was encoded in latin1.
 
 I patched _get_lines_from_file() to read the encoding string of the
 python file.
 
 See: http://www.python.org/dev/peps/pep-0263/

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4249>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to