Modify

Opened 8 years ago

Closed 7 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)

t5598_unicode_conversion_fix.patch (2.6 KB) - added by John Hampton 8 years ago.
Patch to fix unicode conversion in the DB backend

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by John Hampton

Patch to fix unicode conversion in the DB backend

comment:1 Changed 7 years ago by anonymous

Resolution: fixed
Status: newclosed

Already fixed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.