Oleg Broytmann wrote:
On Thu, Apr 27, 2006 at 10:26:29AM +0200, Robert Szefler wrote:
You don't want the my.cnf to be a part of your project's
config taking into account that it might break a lot of other thigs.
Than you would want to SET CHARACTER SET too. But not in the .execute()
- only one-time setup is required for a connection.
cursor.execute('SET NAMES utf8') # ADDED
I admit my "patch" is a bit of a dirty hack, but this should be solved.
Think about a situation when I have one column in koi8-r, and another in
cp1251. UnicodeCol allows that, and I am not going to force all users to
switch to utf-8.
You missed my point. The problem is about connection encoding, not
end-user's encoding. You could easily recode from utf-8 to user-declared
encoding in UnicodeCol.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss