On Fri, Mar 11, 2011 at 12:04 PM, jose soares <[email protected]> wrote: > Christoph Zwerschke wrote: >> >> Am 11.03.2011 09:27 schrieb jose soares: >>> >>> value = 'Attività' and encoding = 'ascii' >>> I would like to assign 'utf-8' to encoding param but I don't know how to >>> change it. >> >> Set kid-encoding='utf-8' in app.cfg. But I think that's already the >> default. As Diez already wrote, the problem seems to be that you stored your >> values as utf-8 strings, not as unicode. You should keep all data inside >> your application in unicode. >> >> -- Christoph >> > yes, I have already kid.encoding='utf-8' in my app.cfg > > What do you mean when you say that I stored my data in utf-8 strings? > > My data is stored into the PostgreSQL database and I created it as: > > create database jose ENCODING ='utf8'; > > do you mean that I should create it as: > > create database jose ENCODING ='unicode'; ? > > j
If you are loading the data from the db the problem might be that you are using a String column in your model instead of a Unicode one -- 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.

