note 49149 added to function.setlocale
| From: | anonIMouS: | Date: | Tue, 18 Jan 2005 09:03:47 +0000 |
| Subject: | note 49149 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83543@lists.php.net to get a copy of this message | ||
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'));
?>
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49149
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49149&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49149&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49149&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49149&report=yes&reason=useless+example
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49149&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49149&report=yes
Search -- http://master.php.net/manage/user-notes.php