Commit 9a64b040 authored by Jérome Perrin's avatar Jérome Perrin

Send mails as UTF8


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10648 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ef896f0a
......@@ -124,7 +124,7 @@ class Url(Coordinate, Base):
submsg = writer.nextpart()
submsg.addheader("Content-Transfer-Encoding", "7bit")
FirstPartFile=submsg.startbody("text/plain", [("charset","US-ASCII")])
FirstPartFile=submsg.startbody("text/plain", [("charset","UTF8")])
FirstPartFile.write(msg)
if attachment_list!=None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment