Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13703 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2787 invoked by uid 1010); 3 Nov 2004 09:58:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2759 invoked from network); 3 Nov 2004 09:58:08 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 3 Nov 2004 09:58:08 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id iA39w8Z0012353 for ; Wed, 3 Nov 2004 10:58:08 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id iA39voJB012331; Wed, 3 Nov 2004 10:57:50 +0100 Date: Wed, 3 Nov 2004 10:57:49 +0100 (CET) X-X-Sender: derick@localhost To: Moriyoshi Koizumi cc: Klaus Reimer , internals@lists.php.net In-Reply-To: <7DB3E200-2D7B-11D9-9893-000A95CE0C62@at.wakwak.com> Message-ID: References: <41838C66.4040604@ailis.de> <8EF8081F-2D66-11D9-9893-000A95CE0C62@at.wakwak.com> <7DB3E200-2D7B-11D9-9893-000A95CE0C62@at.wakwak.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] localeconv not working From: derick@php.net (Derick Rethans) On Wed, 3 Nov 2004, Moriyoshi Koizumi wrote: > 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. I think a much better solution would be to use our own "strtod" function that isn't affected by locales then. I guess we could borrow a BSD implementatino of it and modify this to our needs. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org