From: <var...@us...> - 2009-09-17 14:13:07
|
Revision: 7143 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7143&view=rev Author: vargenau Date: 2009-09-17 14:12:58 +0000 (Thu, 17 Sep 2009) Log Message: ----------- Encoding header was missing in mail subject Modified Paths: -------------- trunk/lib/MailNotify.php Modified: trunk/lib/MailNotify.php =================================================================== --- trunk/lib/MailNotify.php 2009-09-17 10:50:20 UTC (rev 7142) +++ trunk/lib/MailNotify.php 2009-09-17 14:12:58 UTC (rev 7143) @@ -450,11 +450,11 @@ // Let us try quoted printable first if (function_exists('quoted_printable_encode')) { // PHP 5.3 - return quoted_printable_encode($subject); + return "=?UTF-8?Q?".quoted_printable_encode($subject)."?="; } // If not, encode in base64 (less human-readable) - return base64_encode($subject); + return "=?UTF-8?B?".base64_encode($subject)."?="; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |