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

Mark Bucciarelli mkbucc at gmail.com
Mon Dec 21 03:35:02 CET 2009


Any chance the Python client could be modified to
return strings in Unicode instead of UTF-8?

Seems like a better fit for Python; for example,
that's how Python's sqlite3 module behaves.

An alternative approach is to expose a set_encoding
method on the connection that let's you specify the
encoding of all text fields returned.

If backward compatibility is an issue, the latter idea
seems better even though it adds a knob.

Any comments?

(Is the maintainer of the Python adapter active even
on this list?  I didn't see many Python-specific posts
in the archives.)

Thanks,

m




More information about the developers-list mailing list