On 07-May-08, at 12:49 PM, oliver wrote:

> Now this all works fine till I get a non English PC using this (the
> error below is from our very basic contact form!)
>
> Exception Type: UnicodeEncodeError at /contact-opal-students/
> Exception Value: 'ascii' codec can't encode character u'\xb4' in
> position 88: ordinal not in range(128)

how do you compose your email? I had this problem even using  
postgresql when I tried to compose the email within the view by  
concatenating strings. I then set up a text template and passed  
variables to that - and the problem went away

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/




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