Hi Jose, there is a thread about this in the archives, there you can see the solution, but now I don't remember the exact thread.
mario h.c.t. On 12/14/06, jose <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I'm trying to read data from my postgresql db where a field have value > like: ODEĆ > I can insert it into database using a widget.TextField but I can't read > it. > > > ... > options = self._extend_options(self.options) > File > "/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg > /turbogears/widgets/meta.py", > line 95, in __get__ > return param() > File > "/home/jose/sfera/turbosicer/trunk/sicer/sicer/controllers/test.py", > line 24, in opt_regioni > ret = [ (rec.codice, unicode(rec.nome)) for rec in > session.query(Regione).select() ] > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: > ordinal not in range(128) > > > j > > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

