[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe] gnue-common bug: mysqldbdrv.py with MySQLdb 1.2.2 always decodes
From: |
Oleg Noga |
Subject: |
[GNUe] gnue-common bug: mysqldbdrv.py with MySQLdb 1.2.2 always decodes query result using latin1 |
Date: |
Wed, 20 Jun 2007 18:41:16 -0000 |
Hello,
There is a bug in mysqldbdrv.py with MySQLdb 1.2.2 with
client encoding different to latin1.
It still decodes query result (to unicode) using latin1.
The solution is to pass charset to Connection constructor.
MySQLdb 1.2.2 calls SET NAMES internally so it is no more required to
do it from mysqldbdrv.py
--
Best regards,
Oleg mailto:address@hidden
mysqldbdrv.diff
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUe] gnue-common bug: mysqldbdrv.py with MySQLdb 1.2.2 always decodes query result using latin1,
Oleg Noga <=