note 96887 added to function.setlocale

From: Date: Sun, 21 Mar 2010 15:27:14 +0000
Subject: note 96887 added to function.setlocale
Groups: php.notes 
Request: Send a blank email to php-notes+get-167270@lists.php.net to get a copy of this message
On Linux/Apache, when you install and try to use a new locale, the setlocale() function with the new locale will fail sometimes, but not always. To furthermore complicate, setlocale() will always complete with any of the previously installed locales. This would seem a really weird behaviour, which you can fix by restarting Apache, as Kari Sderholm aka Haprog mentioned, but I felt it needed to be properly pointed out. ---- Server IP: 91.185.195.14 Probable Submitter: 93.103.239.101 ---- Manual Page -- http://www.php.net/manual/en/function.setlocale.php Edit -- https://master.php.net/note/edit/96887 Del: integrated -- https://master.php.net/note/delete/96887/integrated Del: useless -- https://master.php.net/note/delete/96887/useless Del: bad code -- https://master.php.net/note/delete/96887/bad+code Del: spam -- https://master.php.net/note/delete/96887/spam Del: non-english -- https://master.php.net/note/delete/96887/non-english Del: in docs -- https://master.php.net/note/delete/96887/in+docs Del: other reasons-- https://master.php.net/note/delete/96887 Reject -- https://master.php.net/note/reject/96887 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#167270) next »