setlocale differences
| From: | Stefan H�gdahl | Date: | Mon, 06 Nov 2000 13:53:59 +0000 |
| Subject: | setlocale differences | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3700@lists.php.net to get a copy of this message | ||
Hi.
Does anyone know why this only works in NT4 & Win2k
setlocale('LC_TIME', 'SWEDISH');
setlocale('LC_CTYPE', 'SWEDISH');
setlocale('LC_COLLATE', 'SWEDISH');
and in Linux it should be:
setlocale('LC_TIME', 'sv_FI');
setlocale('LC_CTYPE', 'sv_FI');
setlocale('LC_COLLATE', 'sv_FI');
I'm using PHP4.03pl1 on a WinNT4 SP6a (IIS4) / Win2k-SP1 (IIS5),
and both systems have Apache 1.3.14 too.
In IIS I'm using the ISAPI PHP403pl1 module, and in Apache
I'm using php.exe.
The result is the same, it does not show for example "Monday" as
"Måndag" (Swedish) in NT when using the sv_FI option,
but in Linux it does.
Any feedback concerning this matter is welcome.
Thanx,
Stefan Högdahl, FINLAND
stefanh@multi.fi