Bug #51694 [Opn->Asn]: Extra characters in strftime %b
| From: | felipe@php.net | Date: | Thu, 29 Apr 2010 22:57:25 +0000 |
| Subject: | Bug #51694 [Opn->Asn]: Extra characters in strftime %b | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150043@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51694&edit=1
ID: 51694
Updated by: felipe@php.net
Reported by: mkvirtanen at gmail dot com
Summary: Extra characters in strftime %b
-Status: Open
+Status: Assigned
Type: Bug
Package: Date/time related
Operating System: Centos 5.x
PHP Version: 5.3.2
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2010-04-29 09:44:15] mkvirtanen at gmail dot com
Description:
------------
Creating a date for local (fiFI) format
$dte = strftime("%a, %d %b %Y %H:%M:%S %Z");
adding it to email headers
$headers[] = "Date: $dte";
Results in an extra character after (or in) %b:
Date: ti, 27 huhti� 2010 13:07:18 CDT
The character seems to be chr(240), at least as reported by Amavis and
some email systems seem to reject the message (otherwise pure UTF8)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51694&edit=1