On Mon, Jun 29, 2009 at 10:36:55PM +0400, Alex wrote:
> How to retreive unicode data from a mysql table with SQLObject?
Add 'use_unicode=1' to your DB URI; this will replace all StringCol with
UnicodeCol. Or declare your columns:
class Foo(SQLObject):
bar = UnicodeCol(dbEncoding='utf-8', length=2**16+1)
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss