ID: 48612 Updated by: j...@php.net Reported By: per at computer dot org -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Linux PHP Version: 5.2.10 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2009-06-19 19:39:53] per at computer dot org Description: ------------ the PHP command line interpreter appears to ignore the LC_ALL setting. In order to make it work, it appears to require an explicit call of setlocale() in a script. Reproduce code: --------------- LC_ALL=de_DE.utf8 php -r "print strftime('%B');" Expected result: ---------------- Juni Actual result: -------------- June ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48612&edit=1