Re: [PHP-DEV] setlocale

2002-04-13 Thread fabwash
; Cc: <[EMAIL PROTECTED]> Sent: Saturday, April 13, 2002 12:16 AM Subject: Re: [PHP-DEV] setlocale > Interesting, I noticed this too. > > I would favour first to check why Microsoft uses a '-' > instead of '_' and if the mapping to the locales really

Re: [PHP-DEV] setlocale

2002-04-12 Thread Markus Fischer
Interesting, I noticed this too. I would favour first to check why Microsoft uses a '-' instead of '_' and if the mapping to the locales really is always the same except the '-'. - Markus ps: I don't think this sort of check/hack belongs into PHP; not without further

[PHP-DEV] setlocale

2002-04-12 Thread fabwash
Hi all,   my browser (IE6) sends en-us in the HTTP_ACCEPT_LANGUAGE instead of the usual en_US. Would it be a good idea to modify setlocale (in ext/standard/string.c) so that it upshifts what is after the "-" before calling the local setlocale, or do you think that should be done by the user?

[PHP-DEV] setlocale function

2002-01-04 Thread RoelS
Hello, could someone tell me if it's possible to change the locale on the system. I'm working with : * WinNT 4.0 Server * Apache 1.3.19 * PHP 4.1.1 I tried the following code (which is from the manual): setlocale ("LC_TIME", "C"); print (strftime ("%A in Finnish is ")); setlocale ("LC_TIME", "