gwynne Fri, 31 Jul 2009 23:46:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286604
Log: utf-8 is a charset, not an encoding, as far as RFC2822 is concerned. This wasn't causing any problems since the charset of the attachment isn't necessarily used, but it's good to have it correct anyway Changed paths: U SVNROOT/commit-email.php Modified: SVNROOT/commit-email.php =================================================================== --- SVNROOT/commit-email.php 2009-07-31 23:44:52 UTC (rev 286603) +++ SVNROOT/commit-email.php 2009-07-31 23:46:19 UTC (rev 286604) @@ -200,7 +200,7 @@ $diff_data = wordwrap(base64_encode($commit_info['diffs']), 80, PHP_EOL, TRUE); $msg_body .= <<<MIMEBODY -Content-Type: text/x-diff; encoding="utf-8" +Content-Type: text/x-diff; charset="utf-8" Content-Disposition: attachment; filename="svn-diffs-{$REV}.txt" Content-Transfer-Encoding: base64
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php