Re: PHP 4 on OSX 10.1.2
| From: | Ben Richardson | Date: | Sat, 19 Jan 2002 03:58:03 +0000 |
| Subject: | Re: PHP 4 on OSX 10.1.2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81194@lists.php.net to get a copy of this message | ||
On 18/01/2002 at 9:24 PM, kaj@macron.dk wrote:
> 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?
I don't know, but I thought that I'd quickly try it out on my machine,
and I found the same problem.
Cheers,
Ben
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ben Richardson ben@evolve.net.au
Any attempt to brew coffee with a teapot should result
in the error code "418 I'm a teapot". The resulting
entity body MAY be short and stout.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~