On 01-Aug-2001 Frédéric Mériot wrote:
> Hello, I've got a little problem with the setLocal function. In many
> tutorials they give this syntax:
> setlocale('LC_TIME','fr_FR'); // for france
>
> I tried this but the "fr_FR" keyword does not seem to work. If I try
> "french" instead it works.
> I've got the same problem with all other countries keywords (C for finland,
> pt_BR for portugal ...etc).
> If i do not put the name of a country, it does not work.
>
> Please help!
Use the full ISO lang.charset definition : 'fr_FR.ISO_8859-1'.
(Linux allows aliases as defined in locale.alias, that's why "french" works).
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]