Re: intl naming

From: Date: Tue, 08 Apr 2008 19:18:15 +0000
Subject: Re: intl naming
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-36882@lists.php.net to get a copy of this message
>> As for validity, since locale mechanism has a bunch of fallbacks, I >> understand the validity concept is a bit blurred. I.e. you can have >> regexp >> to check all the -'s or _'s are in place but beyond that it's kind of >> hard >> to know what the question "is en_RU locale valid?" means. > > It is amazingly handy to know that a locale given by the user (UI or a > developer using your library) is valid. What I like to have are > getCountry, getISO3* etc. I can provide a list and then a patch. I think locale validity detection does not work in PHP6 locale_set_default() too. Bug 42471. -- Tomas

« previous php.internals (#36882) next »