aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils.py b/source/utils.py
index 115fffd9..75ba6b07 100755
--- a/source/utils.py
+++ b/source/utils.py
@@ -158,8 +158,8 @@ def send_mail(mfrom, mto, feed_title, article_title, description):
msg['To'] = mto
# Record the MIME types of both parts - text/plain and text/html.
- part1 = MIMEText(text, 'plain')
- part2 = MIMEText(html, 'html')
+ part1 = MIMEText(text, 'plain', 'utf-8')
+ part2 = MIMEText(html, 'html', 'utf-8')
# Attach parts into message container.
# According to RFC 2046, the last part of a multipart message, in this case
bgstack15