From d065d972fa6133486f8867293de3d45b7572fc22 Mon Sep 17 00:00:00 2001 From: Thorsten Schöning Date: Tue, 27 Nov 2012 22:56:58 +0800 Subject: 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(+) (limited to 'Bugzilla') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 2c1ab5885..df8e0df78 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -390,6 +390,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; -- cgit v1.2.3-24-g4f1b