Re: [PHP4BETA] bug or feature ???
| From: | Joey | Date: | Tue, 23 May 2000 17:35:16 +0000 |
| Subject: | Re: [PHP4BETA] bug or feature ??? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15576@lists.php.net to get a copy of this message | ||
>
> > > 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?