From 2abd7af4ddd4d4cc83d2e3a52da1c76b10cd5a31 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 7 May 2011 16:59:33 +0000 Subject: 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 --- django/core/mail/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') 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). -- cgit v1.3