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 that.  Let me finish this one final task and I'll take
 a look at it.  Toss me a message off-list with a way to chat with you
 (Google, MSN, AIM, Skype, whatever) as well, and we can hash it out
 quicker.
 

http://bugs.php.net/bug.php?id=48612


/Per

-- 
Per Jessen, Zürich (13.3°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 look on one of my
 servers and see if I can help you debug the problem in just a few
 minutes.
 

Now Dan, I hate to be a pest, but them minutes of yours seem to be
running a teeny bit slow? :-)


/Per


-- 
Per Jessen, Zürich (25.9°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 one final task and I'll take
a look at it.  Toss me a message off-list with a way to chat with you
(Google, MSN, AIM, Skype, whatever) as well, and we can hash it out
quicker.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 with the
 setlocale(LC_ALL,'') call, but I'd like to understand why I need it.

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

-- 
Per Jessen, Zürich (20.9°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 meant to get back to you the other day.  Do you have 'E'
in your 'EGPCS'?

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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.
 
 Per;
 
  Sorry, I meant to get back to you the other day.  Do you have 'E'
  in your 'EGPCS'? 
 

Hi Dan

umm, I had to look that one up - I wasn't sure how to check it, but when
I run:

LC_ALL=de_DE.utf8 php '-r phpinfo()'

I see

Environment

Variable = Value
LC_ALL = de_DE.utf8

Is that what you were after?


/Per

-- 
Per Jessen, Zürich (18.4°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 and see if I can help you debug the problem in just a few
minutes.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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,'')
call, but I'd like to understand why I need it.


-- 
Per Jessen, Zürich (16.1°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php