[Tilesathome] Any ideas how to fix ./, problem (new windows client) ?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Oct 15 18:25:35 BST 2008


Knut Arne Bjørndal schrieb:
> On Wed, Oct 15, 2008 at 06:55:44PM +0200, Christian Ehrlicher wrote:
>> Knut Arne Bjørndal schrieb:
>>> On Tue, Oct 14, 2008 at 09:42:07PM +0200, Knut Arne Bjørndal wrote:
>>>> I've gotten to this now, and as I don't have any windows computers
>>>> I've tossed up a little script to try and gather some information
>>>> about what perl does in different situations, could somebody on
>>>> windows run the script with the locale set to both something that uses
>>>> . and something that uses , as decimal separator and post the results?
>>>> http://bob.cakebox.net/osm/localetest.pl
>>> Thanks for the replies so far. I'm getting an idea, could one of you
>>> test the new version I just put up with a ,-based locale?
>>>
>> German winxp sp3:
>>
>> D:\>localetest.pl
>> localetest 1.0
> 
> This was the old one.
> 
looks like the browser cache fooled me.

localetest 1.1
platform: MSWin32
ENV{LANG} =
ENV{LC_NUMERIC} =
ENV{LC_ALL} =
decimal_point= .

before any locale messing
effective LC_NUMERIC: C
print pi: 3.14159265358979
printf pi: 3.141593

use locale
effective LC_NUMERIC: C
print pi: 3.14159265358979
printf pi: 3.141593

no locale
effective LC_NUMERIC: C
print pi: 3.14159265358979
printf pi: 3.141593

LC_NUMERIC changed to (empty string)
effective LC_NUMERIC: German_Germany.1252
print pi: 3.14159265358979
printf pi: 3,141593

LC_NUMERIC changed to C
effective LC_NUMERIC: C
print pi: 3.14159265358979
printf pi: 3.141593

LC_NUMERIC changed to nb_NO.utf8
effective LC_NUMERIC: C
print pi: 3.14159265358979
printf pi: 3.141593

LC_NUMERIC changed to de_DE
effective LC_NUMERIC: C
print pi: 3.14159265358979
printf pi: 3.141593

LC_NUMERIC changed to (empty string) (again)
effective LC_NUMERIC: German_Germany.1252
print pi: 3.14159265358979
printf pi: 3,141593

LC_NUMERIC changed to (empty string) with $ENV{LC_ALL}=C
effective LC_NUMERIC: German_Germany.1252
print pi: 3.14159265358979
printf pi: 3,141593


Christian





More information about the Tilesathome mailing list