Bug #66687 [NEW]: Cedilla caracters are returned by strftime

From: Date: Mon, 10 Feb 2014 16:11:44 +0000
Subject: Bug #66687 [NEW]: Cedilla caracters are returned by strftime
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184241@lists.php.net to get a copy of this message
From: myself at zeno dot ro Operating system: OSX 10.9 PHP version: 5.4.25 Package: Date/time related Bug Type: Bug Bug description:Cedilla caracters are returned by strftime Description: ------------ There is a problem with the returned days for strftime when setting the locale to ro_RO, The affected day is "Tuesday" (marți), which is displayed as "t with cedilla bellow" (Unicode 0163). This is wrong, according to official Romanian National Standards SR 13411:1999 and SR 13392:2004 and International Standard ISO/IEC 8859-16 (Latin 10). The correct character for the Romanian (ro_RO) locale is: - "t with comma below" (Unicode 021B) Test script: --------------- <?php setlocale(LC_TIME, 'ro_RO.UTF8'); $last_tuesday = strtotime("last Tuesday"); echo strftime( "<strong>%A</strong>, %d.%m.%Y", $last_tuesday ); ?> Expected result: ---------------- marți, 04.02.2014 Actual result: -------------- marţi, 04.02.2014 -- Edit bug report at https://bugs.php.net/bug.php?id=66687&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66687&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66687&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66687&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66687&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66687&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66687&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66687&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66687&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66687&r=support Expected behavior: https://bugs.php.net/fix.php?id=66687&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66687&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66687&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66687&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66687&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66687&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66687&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66687&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66687&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66687&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66687&r=mysqlcfg

« previous php.bugs (#184241) next »