Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4365 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52903 invoked by uid 1010); 3 Sep 2003 11:05:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52873 invoked from network); 3 Sep 2003 11:05:40 -0000 Received: from unknown (HELO ammma.de) (213.83.39.131) by pb1.pair.com with SMTP; 3 Sep 2003 11:05:40 -0000 Received: from ammma.net (ammma.net [62.225.101.66]) by ammma.de (8.11.6/8.11.6/AMMMa AG) with ESMTP id h83B50M29721 for ; Wed, 3 Sep 2003 13:05:00 +0200 Received: from neo.wg.de (jan.ammma.mil [192.168.100.11]) by ammma.net (8.9.3p2/8.9.3/AMMMa AG) with ESMTP id NAA11032 for ; Wed, 3 Sep 2003 13:05:37 +0200 Received: by neo.wg.de (Postfix, from userid 30) id CFCFF904AF; Wed, 3 Sep 2003 13:05:41 +0200 (CEST) Received: from ammma.net (ammma.net [62.225.101.66]) by jan.dip.ammma.net (Horde) with HTTP for ; Wed, 3 Sep 2003 13:05:41 +0200 Message-ID: <1062587141.8432c3c5ea454@jan.dip.ammma.net> X-Priority: 3 (Normal) Date: Wed, 3 Sep 2003 13:05:41 +0200 To: internals@lists.php.net References: <3F55C5A6.2040602@boe.es> In-Reply-To: <3F55C5A6.2040602@boe.es> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Subject: Re: [PHP-DEV] Incorrect locale support for decimal_point From: jan@horde.org (Jan Schneider) Zitat von David Guerrero : > Hi! > > I opened Bug #25246 some days ago. The bug was closed as "bogus" by > Sniper. > > I think that this issue (locale numeric settings) is not correctly > addressed in the php core. And i would like to open a discussion about > it, because i think is a very important one. > > As stated in the bug report, this breaks backward compatibility with 4.2 > and older releases. I think that an innapropiate patch broke this in the > end of 2002. > > The question is that databases returns float values with "," or "." > based in its own locale (good locale behavior). I can't understand why > php could not work with these settings as usual. Why the new "reset the > locale setting" is better? > > There is not a workaround solution for applications manipulating those > values (maybe an database function returning floats always with "."). > > Please, consider this as a genuine bug as this could make a lot of > people outside the US, to stick with older versions of PHP. 100% agreed, I already tried to put that on the agenda again, without luck: http://marc.theaimsgroup.com/?t=104993859300001&r=1&w=2 Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft