On 10/4/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
>    Now where is self.need_unicode used?

I don't know.

> We've finally returned to the
> beginning - do not use unicode with MySQLdb at all?

No, I don't think this is true.  In MySQLdb queries are *allowed* to be unicode.

>From the 'MySQLdb User Guide'
(http://mysql-python.sourceforge.net/MySQLdb.html)

use_unicode
  [...], but you can always write Unicode strings.

And from the 'API documentation '
(http://mysql-python.sourceforge.net/MySQLdb-1.2.2/public/MySQLdb.connections.Connection-class.html)

use_unicode
  [...] Unicode objects will always be encoded to the connection's
character set regardless of this setting.

Markus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to