#12321: CharField default is a str and not unicode
---------------------------------------------------+------------------------
          Reporter:  bjourne                       |         Owner:  kgrandis
            Status:  assigned                      |     Milestone:  1.3     
         Component:  Database layer (models, ORM)  |       Version:  SVN     
        Resolution:                                |      Keywords:          
             Stage:  Accepted                      |     Has_patch:  1       
        Needs_docs:  0                             |   Needs_tests:  0       
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Changes (by claudep):

  * needs_better_patch:  0 => 1

Comment:

 The fact that CharField to_python doesn't force a bytestring to unicode is
 explained by some edge cases with MySQL where the collation for the field
 is set to utf8_bin. I wouldn't touch this part of the code.

 See http://docs.djangoproject.com/en/1.2/ref/databases/#collation-settings

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12321#comment:5>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to