Edit report at http://bugs.php.net/bug.php?id=51694&edit=1

 ID:               51694
 Updated by:       fel...@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

Reply via email to