Commit 6cf28ed1 authored by Thorsten Schöning's avatar Thorsten Schöning Committed by Byron Jones

Bug 777685: Use UTF-8 encoding on all email parts, to work around buggy email clients.

r=glob,a=LpSolit
parent f6cd9050
...@@ -389,6 +389,8 @@ sub _generate_bugmail { ...@@ -389,6 +389,8 @@ sub _generate_bugmail {
$email->content_type_set($parts[0]->content_type); $email->content_type_set($parts[0]->content_type);
} else { } else {
$email->content_type_set('multipart/alternative'); $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); $email->parts_set(\@parts);
return $email; return $email;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment