summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorThorsten Schöning <tschoening@am-soft.de>2012-11-27 15:56:58 +0100
committerByron Jones <bjones@mozilla.com>2012-11-27 15:56:58 +0100
commitd065d972fa6133486f8867293de3d45b7572fc22 (patch)
tree117462d5425da10df2f1832a058fae155f806f30 /Bugzilla
parent9297dbbec65903d63fddf5878442c7886e45694c (diff)
downloadbugzilla-d065d972fa6133486f8867293de3d45b7572fc22.tar.gz
bugzilla-d065d972fa6133486f8867293de3d45b7572fc22.tar.xz
Bug 777685: Use UTF-8 encoding on all email parts, to work around buggy email clients.
r=glob,a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/BugMail.pm2
1 files changed, 2 insertions, 0 deletions
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;