[Monetdb-developers] encoding of strings returned by Python client

Gijs Molenaar gijs.molenaar at cwi.nl
Tue Dec 22 11:30:50 CET 2009

On 21 dec 2009, at 13:53, Gijs Molenaar wrote:

> On 12/21/2009 03:35 AM, Mark Bucciarelli wrote:
>> Any chance the Python client could be modified to
>> return strings in Unicode instead of UTF-8?
> Yes it can.
>> Seems like a better fit for Python; for example,
>> that's how Python's sqlite3 module behaves.

Do you know the behavior of other db API's? For example the native MySQL Python API? How big is the problem to do a manual conversion to unicode in your wrapper? The problem is that there isn't a real standard way of doing this, at least not defined by the python db API 2.0.

 - gijs

More information about the developers-list mailing list