Thanks a lot, but I must precise that I'm running PHP (4.0.6) under NT2000
(client not server) platform.
'fr_FR.ISO_8859-1' does not work too.

So, it's not very important, but where can I find the entire list of
countries with their ISO code?

Thanks.


----- Original Message -----
From: "Don Read" <[EMAIL PROTECTED]>
To: "Frédéric Mériot" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 4:10 AM
Subject: RE: [PHP] SetLocal() problem


>
> 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]
>


-- 
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]

Reply via email to