PHP 4 on OSX 10.1.2
| From: | Kaj Schermer Didriksen | Date: | Fri, 18 Jan 2002 11:21:28 +0000 |
| Subject: | PHP 4 on OSX 10.1.2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81065@lists.php.net to get a copy of this message | ||
Hi all
Im trying to get setlocale to work on my OSX box
<?php
print (strftime ("%A in Danish is "));
setlocale ("LC_ALL", "da");
print (strftime ("%A.\n"));
?>
this should give me "Friday in Danish is Fredag"
but no matter what I set the languagecode to it always returns "Friday"
Why?
regards
Kaj Schermer Didriksen
----------------------------------------------------------------------------
"New media applications"
macron ApS Telefon: 87959650 Virkevangen 11, Assentoft Fax: 87959670 8900 Randers Web: http://www.macron.dk---------------------------------------------------------------------------