On Fri, Sep 05, 2008 at 03:11:13PM +0200, spaetz wrote: > Subject: Re: [Tilesathome] locale problem on clients - URL broken > > On Fri, Sep 05, 2008 at 03:02:13PM +0200, spaetz wrote: > > Thanks for the patch, but -1 one of small hotfixes. > > Excuse my garbled typing, it's unknown old crappy keyboard :-) > > -1 on small hotfixes, is what I meant :-)
You would need to export the setlocale to the environment on a portable
way otherwise child processes won't get it ...
[EMAIL PROTECTED]:~$ perl -e '{ use POSIX; setlocale(LC_ALL, "C");
system("locale"); }'
LANG=en_US.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
So one would need to set $ENV{"LC_ALL"}="C"; additionally to present all
processes forked with the new environment.
Flo
--
Florian Lohoff [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
signature.asc
Description: Digital signature
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
