Hello Group!
I am having some character-set problems with SQLObject and MySQLdb
within a turbogears project.
my dsn:
sqlobject.dburi="notrans_mysql://user:[EMAIL
PROTECTED]/database?charset=utf8&debug=True"
my class:
class aTest(SQLObject):
class sqlmeta:
table="atest_test"
name=UnicodeCol(len
On Tue, Mar 13, 2007 at 10:30:17AM +0100, Frank Wagner wrote:
> >>> meinTest(name="äöü") # causes:
>
> Traceback (most recent call last):
> (...)
> File "/usr/lib/python2.4/site-packages/SQLObject-0.8.0-py2.4.egg/
> sqlobject/main.py", line , in set
> value = to_python(dbValue, self._SO_valida
>
> I am having some character-set problems with SQLObject and MySQLdb
> within a turbogears project.
>
> my dsn:
> sqlobject.dburi="notrans_mysql://user:[EMAIL PROTECTED]/database?
> charset=utf8&debug=True"
>
> my class:
> class aTest(SQLObject):
> class sqlmeta:
> table="atest_test"
>
> name=Un
Hello Oleg,
what you received as "дць" was originally the german umlauts "äöü" in
my message...
lost in translation...
Regards,
Frank
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel
Hello Simon,
> Try adding sqlobject_encoding=utf8 to the DSN parameters?
This worked just alright! thanks a lot!
Regards,
Frank
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and
On Tue, Mar 13, 2007 at 07:42:39PM +0100, Frank Wagner wrote:
> what you received as "дць" was originally the german umlauts "??" in
> my message...
I switched to utf8-xterm trying to answer your email but anyway mutt
converted everything to iso8859-1. Now I am back to koi8-xterm. ;)
Bu