Jorge Vargas wrote: > On 10/18/06, core <[EMAIL PROTECTED]> wrote: > > > > "/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) > > > This is an issue with mysql's default encoding. > > please check out your ubuntu's my.cfg file for default encoding which > is what mysqldb uses when you don't pass in anything (which is SO's > default)
I added the charset options on my.cnf but still no game. A \s on the mysql console shows that it is, indeed, using utf: Server characterset: utf8 Db characterset: utf8 But adding accented characters on turbogears still returning the ascii codec error. I tried to put '?use_unicode=1' on the connection string but nah. Too bad I can't afford to run 2 db's on the same server, I think that maybe postgres would be simpler with those encoding matters. []s --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

