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:
>
> <tr><th>Tip anamneze:</th><td>{{ form.anamnesis }}</td></tr>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to