summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-05-07 16:59:33 +0000
committerJannis Leidel <jannis@leidel.info>2011-05-07 16:59:33 +0000
commit2abd7af4ddd4d4cc83d2e3a52da1c76b10cd5a31 (patch)
tree0b1f2ee6082e1e9f0a4aeeda6a386062c206a0c0 /django
parentfe96214939b76d1e7389b1c569d833e96e3a5074 (diff)
Fixed #11212 -- Stopped using quoted-printable encoding for mails with non-ASCII characters but rely on 8bit encoding instead. Thanks, phr, gisle and Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/core/mail/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/mail/message.py b/django/core/mail/message.py
index bed4966ef9..831ab5d492 100644
--- a/django/core/mail/message.py
+++ b/django/core/mail/message.py
@@ -21,7 +21,7 @@ except ImportError:
# Don't BASE64-encode UTF-8 messages so that we avoid unwanted attention from
# some spam filters.
-Charset.add_charset('utf-8', Charset.SHORTEST, Charset.QP, 'utf-8')
+Charset.add_charset('utf-8', Charset.SHORTEST, None, 'utf-8')
# Default MIME type to use on attachments (if it is not explicitly given
# and cannot be guessed).