Am Mittwoch, 22. August 2007 19:25 schrieb Sandro Fernandes:
> Hi all ,
>
> I runing Django from the trunk and getting the error bellow , this
> happens when a data has  accents like á é or ã
>
>
>  UnicodeDecodeError at /admin/frete/frete/
>

If you use the current SVN version with includes this patch:
http://code.djangoproject.com/changeset/5862

you can see the offending string in the stracktrace. Does it come from the 
database, or is this string in your source code?

If it is in the source code you need to write u'.. umlaut ..' (and the
encoding magic line should be at the top. Example  -*- coding: iso-8859-1 -*-)

If the string is from the database, you need to change the encoding
of it. What DB do you use?


 Thomas

--~--~---------~--~----~------------~-------~--~----~
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