Bug #69138 [Opn->Csd]: PHP sometimes see tr_TR.UTF-8 sometimes not see

From: Date: Fri, 27 Feb 2015 13:51:17 +0000
Subject: Bug #69138 [Opn->Csd]: PHP sometimes see tr_TR.UTF-8 sometimes not see
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190990@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69138&edit=1 ID: 69138 User updated by: drtzack at gmail dot com Reported by: drtzack at gmail dot com Summary: PHP sometimes see tr_TR.UTF-8 sometimes not see -Status: Open +Status: Closed Type: Bug Package: Date/time related Operating System: Ubuntu x86_64 PHP Version: 5.5.22 Block user comment: N Private report: N New Comment: It's ubuntu bug. Previous Comments: ------------------------------------------------------------------------ [2015-02-27 13:36:03] drtzack at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=69138&edit=1

« previous php.bugs (#190990) next »