[PHP] Re: PHP 4 on OSX 10.1.2

2002-01-18 Thread Ben Richardson
On 18/01/2002 at 9:24 PM, [EMAIL PROTECTED] wrote: > Hi all > Im trying to get setlocale to work on my OSX box > > 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

Re: [PHP] Re: PHP 4 on OSX 10.1.2

2002-01-19 Thread Andrew White
On Saturday, January 19, 2002, at 03:58 am, Ben Richardson wrote: > this should give me "Friday in Danish is Fredag" but no matter > what I set the languagecode to it always returns "Friday" > > Why? Because locale support in libc on Mac OS X is broken. There isn't even a /usr/share/locale/da