Bug #69138 [NEW]: PHP sometimes see tr_TR.UTF-8 sometimes not see

From: Date: Fri, 27 Feb 2015 13:36:04 +0000
Subject: Bug #69138 [NEW]: PHP sometimes see tr_TR.UTF-8 sometimes not see
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190989@lists.php.net to get a copy of this message
From: drtzack at gmail dot com Operating system: Ubuntu x86_64 PHP version: 5.5.22 Package: Date/time related Bug Type: Bug Bug description:PHP sometimes see tr_TR.UTF-8 sometimes not see Description: ------------ PHP Version 5.5.9-1ubuntu4.5 Everytime when I refresh the page it shows different result. Generally Friday 22 December 1978 and sometimes Cuma 22 Şubat 1978 But it's okay when I set tr_TR instead of tr_TR.UTF-8 But this time result is not UTF8 formatted. Test script: --------------- echo setlocale(LC_ALL, 'tr_TR.UTF-8'); echo strftime("%A %d %B %Y", mktime(0, 0, 0, 12, 22, 1978)); exit(0); Expected result: ---------------- Cuma 22 Şubat 1978 Actual result: -------------- Friday 22 December 1978 -- Edit bug report at https://bugs.php.net/bug.php?id=69138&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69138&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69138&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69138&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69138&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69138&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69138&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69138&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69138&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69138&r=support Expected behavior: https://bugs.php.net/fix.php?id=69138&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69138&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69138&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69138&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69138&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69138&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69138&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69138&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69138&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69138&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69138&r=mysqlcfg

« previous php.bugs (#190989) next »