Re: UnicodeDecodeError when rendering template
.96 is not unicode enabled, if you need to handle unicode strings you will need to use SVN. On Apr 23, 4:23 pm, "Boris Ozegovic" <[EMAIL PROTECTED]> wrote: > On 4/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Are you using .96 or SVN? > > 0.96 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: UnicodeDecodeError when rendering template
On 4/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Are you using .96 or SVN? 0.96 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: UnicodeDecodeError when rendering template
Are you using .96 or SVN? On Apr 23, 3:56 pm, "Boris Ozegovic" <[EMAIL PROTECTED]> wrote: > I am getting UnicodeDecodeError, 'ascii' codec can't decode byte 0xc4. > I using utf-8 in forms.py, and also, my template is saved as UTF-8. > And it doesn't work. Any ideas? > > This is part of my forms.py > > -- > # -*- coding: utf-8 -*- > > CHOICES1 = ( > ('child', 'Dječja'), > ('general', 'Opća'), > ) > > class NewExamForm(forms.Form): > anamnesis = forms.ChoiceField(choices=CHOICES1, > widget=forms.RadioSelect()) > -- > > And this is par of my template: > > Tip anamneze:{{ form.anamnesis }} --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---