#3924: Caught an exception while rendering: 'ascii' codec can't decode byte 0xc3
in position 8: ordinal not in range(128)
-------------------------------------+--------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  hugo                
     Status:  reopened               |            Component:  
Internationalization
    Version:  SVN                    |           Resolution:                    
  
   Keywords:                         |                Stage:  Unreviewed        
  
  Has_patch:  0                      |           Needs_docs:  0                 
  
Needs_tests:  0                      |   Needs_better_patch:  0                 
  
-------------------------------------+--------------------------------------
Comment (by karsu):

 I confirm that [4919] breaks admin interface if you are using non-ascii
 characters.
 
 DEFAULT_CHARSET = utf-8
 
 I made test case for that problem.
 {{{
 form_tests = r"""
 >>> from django.oldforms import *
 
 >>> CHOICES = ((0, u'\x84\x94'),)
 >>> f = SelectField(field_name='test', choices=CHOICES)
 >>> print f
 
 >>> f = SelectField(field_name=u'\x84\x94', choices=None)
 >>> print f
 """
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3924#comment:6>
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