#3891 closed (fixed)
CursorDebugWrapper unicode problems
Description ¶
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), })
Change History (6)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 18 years ago
comment:3 by , 18 years ago
Keywords: | unicode-branch added |
---|
I think this has been fixed in two or three different ways on the unicode branch (including the commit in the above comment). I'll close this ticket when the branch is merged with trunk.
comment:4 by , 18 years ago
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Another one of the unicode-to-fix issues