21 Dec
2009
21 Dec
'09
12:53 p.m.
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.
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?
I will look into this and discuss.
(Is the maintainer of the Python adapter active even on this list? I didn't see many Python-specific posts in the archives.)
hi! - gijs