Handle UTF-8 encoded text in emails.

Thanks to jaakko for pointing this out! http://identi.ca/notice/7169471
Этот коммит содержится в:
Craig Andrews 2009-07-28 22:22:07 -04:00
родитель 72117294d7
Коммит 5aa303320b

Просмотреть файл

@ -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){