mail.send(\'m...@gmail.com\', \'subject\', body)\n  File "/var/www/
web2py/gluon/tools.py", line 271, in send\n    attachment.attach
(email.MIMEText.MIMEText(text.encode(encoding)))\nUnicodeDecodeError:
\'ascii\' codec can\'t decode byte 0xd0 in position 30: ordinal not in
range(128)\n'


This error happens when non-latin characters are passed in the body,
what is the reason and how to fix it, i'm still not very strong in
python errors. Thanks.

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to