[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: developer.php: Locale broken



* Jeroen van Wolffelaar <jeroen@wolffelaar.nl> [2004-02-23 14:05:11 +0100]:

> Hi,

hi Jeroen,

> In developer.wml, the locale is set to fr_FR. This makes the time code
> for 'how long it takes to generate this page' broken, and might cause
> other unexpected results. This is because with a European locale,
> strings liks 12.34 are not interpreted as the float 12.34, but rather
> the integer 12, as the dot is not recognized. However microtime() still
> outputs dots and not comma's.
> 
> PHP's locale support is utterly broken, and thus I suggest to use the C
> locale, as I also don't see a very good reason to use the French locale.

non C locale is mandatory in order to treat the data stored in the
extract file. Moreover, if locale is not set or set to C all the 'extra'
charaters are not displayed properly.

> Regards,
> --Jeroen
> 
> PS: some data source is still stale, so that the package-maintainer
> relationship isn't updated.

Could you explain more ?

-- 
Igor Genibel 
http://www.answare.fr/                             igor.genibel@eds.com
http://www.tuxfamily.org/                            igor@tuxfamily.net
http://people.debian.org/~igenibel/                 igenibel@debian.org
GPG: 1024D/1648F6C8

Attachment: signature.asc
Description: Digital signature


Reply to: