#9510: admin console CRUD operation reject unicode charactors
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody    
   Status:  new                       |   Milestone:  post-1.0  
Component:  django.contrib.admin      |     Version:  1.0       
 Keywords:  admin Chinese error       |       Stage:  Unreviewed
Has_patch:  0                         |  
--------------------------------------+-------------------------------------
 I test this on mysql. I create a model and a table in mysql, registered it
 on admin console.
 I try input Chinese charactor with add function, and exceptin thrown like:
 Warning at /admin/act/acttype/add/
 Incorrect string value: '\xE4\xB8\xAD\xE6\x96\x87' for column 'type_name'
 at row 1

 But the record can is created, with "?" character instead of normal input.

 I'd tried to modified the characterset of the table from "latin" to
 "utf8", but still the same. I'd also tried "gbk" charset, no change at
 all.

 Also the edit and delete function has the same exception throws. I think
 we should add a setting param to tell the program how to encode or decode
 the db input/output before db operations.

 To show the error for you I'd uploaded the warning page in the attachment
 list, please have a look.

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