#3891: CursorDebugWrapper unicode problems
-----------------------------+----------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian          
  Status:  new               |   Component:  Database wrapper
 Version:  SVN               |    Keywords:  debug unicode   
   Stage:  Unreviewed        |   Has_patch:  0               
-----------------------------+----------------------------------------------
 Using Django 0.96/development server/mysql.
 
 I'm writing unicode strings into the db. Writing actually succeeds, but
 when the sql query is logged by CursorDebugWrapper, I see a
 UnicodeDecodeError at
 line 19, in django/db/backends/util.py
 
 {{{
             if not isinstance(params, (tuple, dict)):
                 params = tuple(params)
             # UnicodeDecodeError raised here
             self.db.queries.append({
                 'sql': sql % params,
                 'time': "%.3f" % (stop - start),
             })
 }}}

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