From 6cf28ed197213a500e14d31196db6f6d6e68487f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thorsten=20Sch=C3=B6ning?= Date: Tue, 27 Nov 2012 22:57:59 +0800 Subject: [PATCH] Bug 777685: Use UTF-8 encoding on all email parts, to work around buggy email clients. r=glob,a=LpSolit --- Bugzilla/BugMail.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 764b223db6..123a30081e 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -389,6 +389,8 @@ sub _generate_bugmail { $email->content_type_set($parts[0]->content_type); } else { $email->content_type_set('multipart/alternative'); + # Some mail clients need same encoding for each part, even empty ones. + $email->charset_set('UTF-8') if Bugzilla->params->{'utf8'}; } $email->parts_set(\@parts); return $email; -- 2.47.2