Unicode problem

21 views
Skip to first unread message

Jaimerson Leandro Amaro de Araújo

unread,
Jun 25, 2013, 4:39:22 PM6/25/13
to django-ad...@googlegroups.com
Hello, I'm stuck in a encoding issue, on the dashboard template. Some of my models have fields with non-ascii characters (like "à" or "á"), and when I try to load the page, I get the following error:

DjangoUnicodeDecodeError at /

'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128).
You passed in <django.utils.functional.__proxy__ object at 0xb581d98c> (<class 'django.utils.functional.__proxy__'>)
[...]

Unicode error hint

The string that could not be encoded/decoded was: Conte��do

Please, advise.

Reply all
Reply to author
Forward
0 new messages