Re: [PHP-DEV] The new printf implementation

2007-01-06 Thread Pierre
Hello, On 1/5/07, Andrei Zmievski <[EMAIL PROTECTED]> wrote: Yes, POSIX locales should not be used either in internal or userland printf() unless we're using en_US locale. I agree. This change is unlucky and as far as I can see we fix our tree instead of restoring the old behaviors. I'm not su

Re: [PHP-DEV] The new printf implementation

2007-01-05 Thread Andrei Zmievski
Yes, POSIX locales should not be used either in internal or userland printf() unless we're using en_US locale. -Andrei On Jan 5, 2007, at 6:15 AM, Matt Wilmas wrote: Hi Andrei, I have no idea. :-) It doesn't really affect me personally that I can think of, so whatever you guys decide. I d

Re: [PHP-DEV] The new printf implementation

2007-01-05 Thread Matt Wilmas
Hi Andrei, I have no idea. :-) It doesn't really affect me personally that I can think of, so whatever you guys decide. I don't feel strongly either way... I just wanted to bring up the internal changes originally after the locale stuff created the bug with number_format() (maybe a couple other

Re: [PHP-DEV] The new printf implementation

2007-01-04 Thread Andrei Zmievski
So we should remove locale-awareness then? -Andrei On Jan 4, 2007, at 5:15 AM, Matt Wilmas wrote: Hi Andrei, No, not really... :-) I agree with what you said. Even in non-Unicode mode or 5.2, it doesn't seem like making things locale aware which weren't before is a good idea (3rd party c

Re: [PHP-DEV] The new printf implementation

2007-01-04 Thread Matt Wilmas
Hi Andrei, No, not really... :-) I agree with what you said. Even in non-Unicode mode or 5.2, it doesn't seem like making things locale aware which weren't before is a good idea (3rd party code that's relying on behavior, etc. which I think was mentioned elsewhere). Matt - Original Messa

Re: [PHP-DEV] The new printf implementation

2007-01-03 Thread Andrei Zmievski
Matt, any replies to this? -A On Dec 22, 2006, at 9:53 AM, Andrei Zmievski wrote: Especially since POSIX locales are deprecated in Unicode mode. I really don't think printf() should use locale-aware formatting by default. -Andrei On Dec 22, 2006, at 5:42 AM, Matt Wilmas wrote: Hi all, A

Re: [PHP-DEV] The new printf implementation

2006-12-22 Thread Andrei Zmievski
Especially since POSIX locales are deprecated in Unicode mode. I really don't think printf() should use locale-aware formatting by default. -Andrei On Dec 22, 2006, at 5:42 AM, Matt Wilmas wrote: Hi all, A couple questions regarding the printf changes (internal and userland) a couple weeks

[PHP-DEV] The new printf implementation

2006-12-22 Thread Matt Wilmas
Hi all, A couple questions regarding the printf changes (internal and userland) a couple weeks ago... Now the internal %f, %g, and %G are locale-aware, which they weren't before, right? Is this how they're supposed to be and simply weren't before? (The locale changes caused Bug #39873 with numb