Hi all,

I got kind of classical error : "UnicodeEncodeError, 'ascii' codec
can't encode character u'\xe9' in position 11: ordinal not in range
(128)"

In fact, it raises when going from view to template, and i think when
registering some address in my database with an "é" ("e" with accent).
I have a __unicode__ instead of a __str__ also in my models. I also
set :

DEFAULT_CHARSET = 'utf-8'
FILE_CHARSET = 'utf-8'
in my settings

Where does the pb come from? I didn't find the answer on this forum.
thx a lot

Arbi
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to