Encode the email as UTF-8 instead of ISO-8859-1, as the former seems to be getting used more often on checkin comments these days (it's the default chartset on almost every OS nowadays)
git-svn-id: svn://10.0.0.236/trunk@231133 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e001c8431a
commit
5881f42702
@ -124,6 +124,11 @@ my %headers;
|
||||
$headers{'From'} = "$username <cvsmailfilter\@$hostname>";
|
||||
$headers{'To'} = \@mailto;
|
||||
$headers{'Subject'} = $cvsargs;
|
||||
$headers{'MIME-Version'} = '1.0';
|
||||
$headers{'Content-Type'} = 'text/plain; charset=UTF-8'; # assume everything is UTF-8
|
||||
$headers{'Content-Transfer-Encoding'} = '8bit';
|
||||
$headers{'Content-Disposition'} = 'inline';
|
||||
|
||||
$mailer->open(\%headers);
|
||||
print $mailer $message;
|
||||
$mailer->close;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user