Commit d065d972 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 9297dbbe
......@@ -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;
......
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