Re: Incorrect locale support for decimal_point

From: Date: Wed, 03 Sep 2003 11:05:41 +0000
Subject: Re: Incorrect locale support for decimal_point
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4365@lists.php.net to get a copy of this message
Zitat von David Guerrero <david@boe.es>: > 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

« previous php.internals (#4365) next »