Re: Newforms, form_for_model, help_text and unicode.

2007-02-19 Thread Adrian Holovaty
On 2/19/07, sandro.dentella <[EMAIL PROTECTED]> wrote: > I had similar problems this night. It comes out help_text is the > source of problems. I fixed it adding smart_unicode in Field class > (newforms.fields): > > class Field(object): > ... > def __init__(...): > self.help_text = s

Re: Newforms, form_for_model, help_text and unicode.

2007-02-19 Thread sandro.dentella
Hi, I had similar problems this night. It comes out help_text is the source of problems. I fixed it adding smart_unicode in Field class (newforms.fields): class Field(object): ... def __init__(...): self.help_text = smart_unicode(help_text) sandro *:-) PS: should I open a ticket

Newforms, form_for_model, help_text and unicode.

2007-02-12 Thread Michel Thadeu Sabchuk
Hi guys, I have my database and my application set up to the UTF-8 charset (my settings file have an option DEFAULT_CHARSET = 'UTF-8'). I don't have to pass verbose_names or help_texts as unicode strings, I didn't have any problem with character encoding using the admin interface, but now I want