Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13702 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90147 invoked by uid 1010); 3 Nov 2004 09:34:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89703 invoked from network); 3 Nov 2004 09:34:49 -0000 Received: from unknown (HELO mgkyb2.nw.wakwak.com) (211.9.231.193) by pb1.pair.com with SMTP; 3 Nov 2004 09:34:49 -0000 Received: from vckyb1.nw.wakwak.com (postfix@vckyb1.nw.wakwak.com [211.9.230.144]) by mgkyb2.nw.wakwak.com (8.13.1/8.13.1/2004-08-10) with SMTP id iA39YiC7066632; Wed, 3 Nov 2004 18:34:44 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Received: from at.wakwak.com (at.wakwak.com [211.9.230.135]) by vckyb1.nw.wakwak.com (Postfix) with ESMTP id CAB843FE03; Wed, 3 Nov 2004 18:34:44 +0900 (JST) Received: from [192.168.0.100] (newcycle.as.wakwak.ne.jp [218.225.209.145]) by at.wakwak.com (8.13.1/8.13.1/2004-10-28) with ESMTP/inet id iA39YhRD051723; Wed, 3 Nov 2004 18:34:44 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) In-Reply-To: References: <41838C66.4040604@ailis.de> <8EF8081F-2D66-11D9-9893-000A95CE0C62@at.wakwak.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <7DB3E200-2D7B-11D9-9893-000A95CE0C62@at.wakwak.com> Content-Transfer-Encoding: 7bit Cc: Klaus Reimer , internals@lists.php.net Date: Wed, 3 Nov 2004 18:33:59 +0900 To: Derick Rethans X-Mailer: Apple Mail (2.619) Subject: Re: [PHP-DEV] localeconv not working From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) 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