Re: Processing unicode using Python and mysqldb
Posted by:
Huu Da Tran
Date: September 11, 2008 11:46AM
use_unicode=True <- The boolean, not the string value.
If you use that, you should pass all unicode values, or it will try to decode according to sys.getdefaultencoding(), especially in your case where you grab the info from uncontrolled environment.
Huu Da
MySQL flirter
Subject
Written By
Posted
September 11, 2008 11:27AM
Re: Processing unicode using Python and mysqldb
September 11, 2008 11:46AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.