Knut Arne Bjørndal schrieb:
> On Tue, Oct 14, 2008 at 05:46:58PM +0200, Olf wrote:
>> Are there any ideas how to fix the './,' problem on the new windows
>> clients that are set to
>> comma as decimal seperator ?
>
> Hold your horses. Sending three mails a day to an already quite
> high-volume list about the exact same problem doesn't make it easier
> to fix anything, it just makes it much easier to drown in email.
>
> 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
>
Here on my Laptop (winxp sp3):
D:\kde-msvc>d:\localetest.pl
localetest 1.0
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
Christian
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome