Unicode in mysql issue
Subject: Unicode in mysql issue
Newsgroups: gmane.comp.python.sqlobject
Date: 2009-06-29 18:36:55 GMT
Hi all,
How to retreive unicode data from a mysql table with SQLObject?
When I run this code:
class Foo(SQLObject):
class sqlmeta:
fromDatabase = True
print Foo.select(Foo.q.id==55)[0].bar
...I get:
"?????????? ????????????? ???????? ?? ?????????? ?????? ? ???"
bar's type is mediumtext and collation is utf8_general_ci.
Bests,
Alex
------------------------------------------------------------------------------

RSS Feed