Handle UTF-8 encoded text in emails.

Thanks to jaakko for pointing this out! http://identi.ca/notice/7169471
This commit is contained in:
Craig Andrews 2009-07-28 22:22:07 -04:00
parent 72117294d7
commit 5aa303320b

View File

@ -301,7 +301,7 @@ class MailerDaemon
$this->extract_part($parsed,$msg,$attachments); $this->extract_part($parsed,$msg,$attachments);
return array($from, $to, $msg, $attachments); return array($from, $to, utf8_encode($msg), $attachments);
} }
function extract_part($parsed,&$msg,&$attachments){ function extract_part($parsed,&$msg,&$attachments){