note 36641 added to function.setlocale

From: Date: Fri, 17 Oct 2003 02:31:08 +0000
Subject: note 36641 added to function.setlocale
Groups: php.notes 
Request: Send a blank email to php-notes+get-58728@lists.php.net to get a copy of this message
/usr/share/locale (on Linux, at least) doesn't list all your locales. Most of the directories are just the ISO639 language codes (for example, "en"), which aren't valid as locale names -- the locale name has to be the language code followed by the ISO3166 country code (for example, "en_US"). To see all the locales available on your system, you have to run: locale -a at your command prompt. ---- Manual Page -- http://www.php.net/manual/en/function.setlocale.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36641 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36641&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36641&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#58728) next »