Modify

Opened 5 years ago

Closed 5 years ago

#5598 closed defect (fixed)

Specifying `charset` when using DB provider causes traceback

Reported by: pacopablo Owned by: doki_pen
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 pacopablo 5 years ago.
Patch to fix unicode conversion in the DB backend

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by pacopablo

Patch to fix unicode conversion in the DB backend

comment:1 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Already fixed.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.