Re: [SQLObject] Unicode in mysql issue
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2009-06-29 19:06:17
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |