On 2004/11/03, at 17:11, Derick Rethans wrote:

It's assigned to me for now... I'll have a look at it this week. Does
somebody remember why we need to mangle the locale anyway by resetting
LC_NUMERIC to "C"?

Good to hear the problem is then going to be addressed.

According to the annotation, the change (1.320) was made by Ilia with the
following comment:


This patch fixes handling of floats on locales where decimal point is
not a '.'. Problem is best demonstrated by bug #17079.


    ( http://cvs.php.net/co.php/php-src/ext/standard/string.c?r=1.320 )

I suppose the root of the problem is that the engine relies on
strtod() that is affected by the locale settings. IIRC,
there are some threads regarding this...  I can't name one though.

Moriyoshi

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php




Reply via email to