#4846: Some inappropriate unicode handling in contrib/admin/views/main.py
-----------------------------------+----------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian       
  Status:  new                     |   Component:  Contrib apps 
 Version:  SVN                     |    Keywords:  admin unicode
   Stage:  Unreviewed              |   Has_patch:  1            
-----------------------------------+----------------------------------------
 I have models which have {{{__unicode__}}} method that returns unicode
 string including Korean utf8 characters.
 With some configuration of MySQL 5.0.27, everything works OK, but the
 admin mode does not.
 
 Altough inserting, updating the tables of my own models works fine,
 UnicodeDecodeException is occurred when the insertion query to
 djang_admin_log table is executed.
 I've found that this problem is inappropriate handling of objects that has
 non-ascii unicode string output for {{{__unicode__}}} method.
 
 I attach the patch which may have some non-necessary changes, but please
 consider it.

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