只有 AOL 帐户的电子邮件内容中有奇怪的字符?

Weird characters in e-mail content only on AOL accounts?

我有客户抱怨奇怪的角色

 Donation Receipt: Â

If donor provided extra information, here is the information: Â

这只发生在 AOL 上。或者至少,似乎只发生在那里。

这是邮件调用。

  $headers .= "From: " . "Jewcer  <info@myapp.com>" . "\r\n";
  $headers .= "Reply-To: " . "info@myapp.com" . "\r\n";
  $headers .= "From: " . "<{$fromEmail}>" . "\r\n";
  $headers .= "Reply-To: " . "{$fromEmail}" . "\r\n";
  $headers .= "MIME-Version: 1.0\r\n";
  $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
  mail($to, $title, $content, $headers);

知道是什么导致了这个问题吗?通常它可以工作,只是 AOL 和其他一些奇怪的客户端会导致问题

唯一对我有用的是:

function utf8mail($to,$s,$body,$from_name="x",$from_a = "info@x.com", $reply="info@x.com")
{
    $s= "=?utf-8?b?".base64_encode($s)."?=";
    $headers = "MIME-Version: 1.0\r\n";
    $headers.= "From: =?utf-8?b?".base64_encode($from_name)."?= <".$from_a.">\r\n";
    $headers.= "Content-Type: text/plain;charset=utf-8\r\n";
    $headers.= "Reply-To: $reply\r\n";  
    $headers.= "X-Mailer: PHP/" . phpversion();
    mail($to, $s, $body, $headers);
}

来自