[mod_python] How to set connection parameters?

David Fraser davidf at sjsoft.com
Mon Jan 12 08:16:08 EST 2004

jalil at securia.com wrote:

> When using JDBC,  one can pass the following parameters in the 
> connection string:
> useUnicode=true&characterEncoding=UTF-8
> How do we do this in Python?
> Thanks,
> -Jalil

It depends, what database system you are using. I create a wrapper on 
top of the Python DB-API 2.0 and do unicode conversions there...
If you post more details it may be easier to answer your question


More information about the Mod_python mailing list