I have a contact form which send email. It is working fine. But when I try to 
add two Unicode to subject line:

subject = "DOMAIN.COM 留言 - %s (%s)" % (full_name,location)

I got the following error message:



  UnicodeDecodeError at /contact_us/

'ascii' codec can't decode byte 0xe7 in position 11: ordinal not in range(128)


Anyone know how to resolve this?




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