Modify ↓
Opened 15 years ago
Closed 15 years ago
#5598 closed defect (fixed)
Specifying `charset` when using DB provider causes traceback
Reported by: | John Hampton | Owned by: | Robert Corsaro |
---|---|---|---|
Priority: | normal | Component: | IrcLogsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
When specifying the charset
while using the database backend provider an exception is thrown when trying to convert to unicode. See provder/db.py#L71.
The problem stems from the fact that the data received from the database is already unicode data.
Attached is a patch with a fix (as well as a touch of extra documentation)
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Patch to fix unicode conversion in the DB backend