note 49149 deleted from function.setlocale by derick
| From: | derick@php.net | Date: | Tue, 30 Aug 2005 11:24:45 +0000 |
| Subject: | note 49149 deleted from function.setlocale by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94418@lists.php.net to get a copy of this message | ||
Note Submitter: anonIMouS :)
----
For checking available locales possible to use this scripts
<?php
system('locale -a'); // for all locales
//system('locale -a | grep ru'); // for russian locales
?>
For russian locale in most cases universal will
<?php
setlocale (LC_ALL, array ('ru_RU.CP1251', 'rus_RUS.1251'));
?>