Re: [PHP] about locale settings

2009-06-19 Thread Per Jessen
Daniel Brown wrote: On Thu, Jun 18, 2009 at 14:52, Per Jessenp...@computer.org wrote: Now Dan, I hate to be a pest, but them minutes of yours seem to be running a teeny bit slow? :-) It's the uhh time difference between Zurich and Scranton...? [*blushes*] Sorry about

Re: [PHP] about locale settings

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:40, Per Jessenp...@computer.org wrote: http://bugs.php.net/bug.php?id=48612 See my email to you a moment ago on the impeccability of your timing, as well. ;-P -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ ||

Re: [PHP] about locale settings

2009-06-18 Thread Per Jessen
Daniel Brown wrote: On Tue, Jun 16, 2009 at 15:33, Per Jessenp...@computer.org wrote: Environment Variable = Value LC_ALL = de_DE.utf8 Is that what you were after? Sure is. Unfortunately, that means it's not an environment-import issue as I had originally suspected. I'll take a

Re: [PHP] about locale settings

2009-06-18 Thread Daniel Brown
On Thu, Jun 18, 2009 at 14:52, Per Jessenp...@computer.org wrote: Now Dan, I hate to be a pest, but them minutes of yours seem to be running a teeny bit slow? :-) It's the uhh time difference between Zurich and Scranton...? [*blushes*] Sorry about that. Let me finish this

Re: [PHP] about locale settings

2009-06-16 Thread Per Jessen
Per Jessen wrote: When I've set LC_ALL before calling php, why do I need to call setlocale() in the script too: LC_ALL=de_DE.utf8 php -r print strftime('%B'); June LC_ALL=de_DE.utf8 php -r setlocale(LC_ALL,''); print strftime('%B'); Juni What am I missing here? I have no problem

Re: [PHP] about locale settings

2009-06-16 Thread Daniel Brown
On Tue, Jun 16, 2009 at 12:51, Per Jessenp...@computer.org wrote: Am I the only one to run into these oddball problems?  Doesn't anyone else use different locales?  I think the above is a bug - php _should_ respect the LC_ALL setting without being specifically poked. Per; Sorry, I

Re: [PHP] about locale settings

2009-06-16 Thread Per Jessen
Daniel Brown wrote: On Tue, Jun 16, 2009 at 12:51, Per Jessenp...@computer.org wrote: Am I the only one to run into these oddball problems?  Doesn't anyone else use different locales?  I think the above is a bug - php _should_ respect the LC_ALL setting without being specifically poked.

Re: [PHP] about locale settings

2009-06-16 Thread Daniel Brown
On Tue, Jun 16, 2009 at 15:33, Per Jessenp...@computer.org wrote: Environment Variable = Value LC_ALL = de_DE.utf8 Is that what you were after? Sure is. Unfortunately, that means it's not an environment-import issue as I had originally suspected. I'll take a look on one of my servers

[PHP] about locale settings

2009-06-13 Thread Per Jessen
When I've set LC_ALL before calling php, why do I need to call setlocale() in the script too: LC_ALL=de_DE.utf8 php -r print strftime('%B'); June LC_ALL=de_DE.utf8 php -r setlocale(LC_ALL,''); print strftime('%B'); Juni What am I missing here? I have no problem with the setlocale(LC_ALL,'')