Re: SetLocal() problem
| From: | Frédéric Mériot | Date: | Thu, 02 Aug 2001 07:17:26 +0000 |
| Subject: | Re: SetLocal() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60860@lists.php.net to get a copy of this message | ||
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" <dread@texas.net>
To: "Frédéric Mériot" <frederic@argyro.net>
Cc: <php-general@lists.php.net>
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 dread@texas.net
> -- 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>