note 96887 deleted from function.setlocale by cmb
| From: | cmb@php.net | Date: | Sun, 10 Nov 2019 12:27:21 +0000 |
| Subject: | note 96887 deleted from function.setlocale by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212972@lists.php.net to get a copy of this message | ||
Note Submitter: Omer Sabic
----
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.