Opened 8 years ago

Closed 8 years ago

# Specifying charset when using DB provider causes traceback

Reported by: Owned by: John Hampton Robert Corsaro normal IrcLogsPlugin normal 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)

### Changed 8 years ago by John Hampton

Patch to fix unicode conversion in the DB backend

### comment:1 Changed 8 years ago by anonymous

Resolution: → fixed new → closed