diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-28 22:22:07 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-28 22:22:07 -0400 |
commit | 5aa303320b4e57f5296eccba5bba7134cc12503f (patch) | |
tree | 9234853b2962f4ae058c1d9f860090020cf2a127 /scripts | |
parent | 72117294d7675434fc14303ad84711d43be003b9 (diff) |
Handle UTF-8 encoded text in emails.
Thanks to jaakko for pointing this out! http://identi.ca/notice/7169471
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maildaemon.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php index a4003b6b2..9b3628b86 100755 --- a/scripts/maildaemon.php +++ b/scripts/maildaemon.php @@ -301,7 +301,7 @@ class MailerDaemon $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){ |