Code

Fix charset of first text-part of outgoing multipart messages, thanks
[roundup.git] / roundup / roundupdb.py
index 7d40da471f46277215e13edf4841c3970bc55d53..d3576b1732e19e56febb738db917800dec5ef269 100644 (file)
@@ -472,6 +472,7 @@ class IssueClass:
             if message_files:
                 # first up the text as a part
                 part = MIMEText(body)
+                part.set_charset(charset)
                 encode_quopri(part)
                 message.attach(part)