Opened 13 years ago
Closed 13 years ago
#18462 closed Bug (duplicate)
UnicodeDecodeError in sql debug logger
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev | 
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
I get a UnicodeDecodeError in line 51 of db/backends/util.py whenever I try to save content with diacriticals in the admin interface. I don't know the correct way to fix this, but if I simply comment out the corresponding line it works:
# logger.debug('(%.3f) %s; args=%s' % (duration, sql, params), extra={'duration': duration, 'sql': sql, 'params': params})
  Note:
 See   TracTickets
 for help on using tickets.
    
Duplicate of #18461