Hello all,
I'm getting those messages: (snipped the first part):
File
"/usr/lib/python2.4/site-packages/SQLObject-0.7.1-py2.4.egg/sqlobject/mysql/mysqlconnection.py",
line 73, in _executeRetry
myquery = unicode(query, self.encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
71: ordinal not in range(128)
When I try to use characters like á é í ç ã in data comming from
both form posts and XMLRequests (loadJSONDoc). My model.py uses
UnicodeCols, I tried setting the sys.defaultencoding to utf8, even with
my default language being an UTF8 one already,
Apparently, it works ok when I use a SQLite db (like I do on my
development machines, one win32 and one suse linux), but when I send it
to the wanna-be-production (ubuntu linux dapper) where I have to use
MySQL (4.1), the DB stuff go crazy. The part I do not understand is, it
worked until some weeks ago, then I took some time off development (ok,
more than weeks, I left on TG 0.9.something and came back now), and
things broke. I may be let something pass on the changelogs...
I searched google and found a lot of conflicting info, so, any clue for
my cluelesness? :)
thanks
[]s
coredump
http://core.eti.br
"all I wanna do is to find a job to work with turbogears"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---