Re: UnicodeEncodeError on admin site

2009-07-21 Thread Rodrigo Gomes
Hi Daniel, I just changed my method as you suggested, to def __unicode__(self) and the problem was solved. Thanks so much! Rodrigo On Tue, Jul 21, 2009 at 12:54 PM, Daniel Roseman wrote: > > On Jul 21, 3:46 pm, Rodrigo Gomes wrote: > > Hi Daniel, > > > > My databse enconding (Mysql) is utf-8,

Re: UnicodeEncodeError on admin site

2009-07-21 Thread Daniel Roseman
On Jul 21, 3:46 pm, Rodrigo Gomes wrote: > Hi Daniel, > > My databse enconding (Mysql) is utf-8, as you can see below: > > Server characterset:    latin1 > Db     characterset:    utf8 > Client characterset:    latin1 > Conn.  characterset:    latin1 But what about your actual tables? When you d

Re: UnicodeEncodeError on admin site

2009-07-21 Thread Rodrigo Gomes
Hi Daniel, My databse enconding (Mysql) is utf-8, as you can see below: Server characterset:latin1 Db characterset:utf8 Client characterset:latin1 Conn. characterset:latin1 There is something strange, because I'm showing the same information on my page and I'm not getting th

Re: UnicodeEncodeError on admin site

2009-07-21 Thread Daniel Roseman
On Jul 21, 1:27 pm, Rodrigo Gomes wrote: > Hi, > > I'm getting the error below when i'm trying to edit a non ascii value on the > admin site. > I tried to put # -*- coding: utf-8 -*- on my model file, tried to set > settings.FILE_CHARSET to 'utf-8' and I tried to put > on the > admin page "chang

UnicodeEncodeError on admin site

2009-07-21 Thread Rodrigo Gomes
Hi, I'm getting the error below when i'm trying to edit a non ascii value on the admin site. I tried to put # -*- coding: utf-8 -*- on my model file, tried to set settings.FILE_CHARSET to 'utf-8' and I tried to put on the admin page "change.form.html", but it didn't work. Is there something that