Re: [PHP] SetLocal() problem
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]
Re: [PHP] SetLocal() problem
On 02-Aug-2001 Frédéric Mériot wrote: 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? It's not an exact country = locale assignment. language_dialect.characterset de_DE.DIS_8859-15Deutsch (as used in Germany) in the DIS_8859-15 charset. de_CH.ISO_8859-2 Deutsch ( Swiss dialect) in a ISO_8859-2 charset. --- On Unix boxes the supported locales are usually in /usr/local/share/locale. For Windows, a search on Google turned up: http://www.microsoft.com/globaldev/FAQs/Locales.asp My 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]
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]