On Thu, Jun 28, 2007 at 02:28:54PM +0200, Tom Arild Naess wrote:
> Is this correct behaviour? I would think binary data should go straight 
> in and out of the database, regardless of charset.

   What do you mean by "stright"? This line

>    File 
> "c:\python24\lib\site-packages\SQLObject-0.9.0-py2.4.egg\sqlobject\mysql\mysqlconnection.py",
>  
> line 113, in _executeRetry
>      query = unicode(query, self.encoding)

   was executed because you use the version of MySQLdb (1.2.1+) that
requires unicode, and SQLObject has to convert strings to unicode somehow.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to