[mod_python] How to set connection parameters?

jalil jalil at securia.com
Mon Jan 12 07:44:25 EST 2004


David,

I am using mysql. Could you provide me some info on your wrapper 
especially if it is for mysql.

Thanks,

-Jalil

David Fraser wrote:

> 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
>
> David
>
>
>



More information about the Mod_python mailing list