Re: [PHP4BETA] bug or feature ???
[email protected] (Joey)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
> > > > but if windows locale scheme is broken, > > > IMHO it's a bit beyond PHP to fix it. > > > > what about to force php4 to use '.' > > as decimal point ? > I'd agree to that. Most programming languages use a decimal point, and in > order to attract as many people as possible, I'd stick to that. > > Just my 2c, > Christian > Then why is it that C's strtod() is locale sensitive? I concede that for portability reasons, a workaround is desirable, but I don't really know much about locales...is there a reference on all of this somewhere?