-
Note that I also had to tweak UnicodeStringLikeConvertor so that unicode parameters are encoded into utf8. Without this tweak I got errors like this one when unicode parameters are passed into queries built with sqlbuilder:
File "/home/max/oss-projects/SQLObject-0.7/sqlobject/sqlbuilder.py", line 237, in __sqlrepr__
return "(%s %s %s)" % (s1, self.op, s2)
UnicodeDecodeError: 'ascii'...
2007-02-07 14:54:11 UTC in SQLObject
-
It was tested against MySQL 4.1 (5.x should work while 4.0 shouldn't) and MySQLdb driver versions 1.2.0 and 1.2.1. I only tested it with utf8 encoding, the other ones like latin1 should work though I don't know why would you want to use them.
2007-02-07 14:46:17 UTC in SQLObject
-
Please ignore that one-line fix; it won't work with MySQLdb 1.2.0 and there are other issues as I have discovered during testing. I attached new patch which is quite more involved. ;)
2007-02-07 14:44:30 UTC in SQLObject
-
File Added: mysql_charset.patch.
2007-02-07 14:42:50 UTC in SQLObject
-
Current implementation of the mysqlconnection.py accepts 'sqlobject_encoding' and 'charset' parameters but doesn't quite properly use them.
In particular, MySQLdb does query.encode(charset) call in execute() where charset is taken from conn.get_character_name(). The problem is - SQLObject never initializes it properly.
This one-line patch fixes it by adding a call to...
2007-02-07 07:57:46 UTC in SQLObject
-
mfi committed patchset 180 of module vertoo to the Simple version support tool CVS repository, changing 2 files.
2004-12-03 09:09:15 UTC in Simple version support tool
-
mfi committed patchset 179 of module vertoo to the Simple version support tool CVS repository, changing 1 files.
2004-12-03 09:09:02 UTC in Simple version support tool
-
mfi committed patchset 178 of module vertoo to the Simple version support tool CVS repository, changing 2 files.
2004-02-02 13:47:14 UTC in Simple version support tool
-
mfi committed patchset 177 of module vertoo to the Simple version support tool CVS repository, changing 2 files.
2004-02-02 13:46:56 UTC in Simple version support tool
-
mfi committed patchset 176 of module vertoo to the Simple version support tool CVS repository, changing 4 files.
2004-02-02 13:34:19 UTC in Simple version support tool