[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing the environment's locale encoding settings
From: |
Peter Brett |
Subject: |
Re: Accessing the environment's locale encoding settings |
Date: |
Thu, 24 Nov 2011 13:16:29 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Hi Mike,
>
> Mike Gran <address@hidden> skribis:
>
>> Here's a suggestion. One could add an option to the guile
>> interpreter's command line args (--locale=ARG perhaps) that has the
>> effect of calling setlocale(LC_ALL,"ARG") first thing. If --locale
>> is called with no ARG specified, it would call to setlocale(LC_ALL,
>> "").
>
> I tried something along these lines:
>
My main objection is that I don't know of any other interpreter that
finds it necessary to have a --locale switch (Perl and Python both
manage without quite comfortably). How is:
guile --locale="foobar"
Better than:
LANG="foobar" guile ?
Peter
--
Peter Brett <address@hidden>
Remote Sensing Research Group
Surrey Space Centre
- Re: Accessing the environment's locale encoding settings, (continued)
- Re: Accessing the environment's locale encoding settings, Bruno Haible, 2011/11/15
- Re: Accessing the environment's locale encoding settings, Bruno Haible, 2011/11/20
- Re: Accessing the environment's locale encoding settings, Ludovic Courtès, 2011/11/20
- Re: Accessing the environment's locale encoding settings, Mike Gran, 2011/11/20
- Re: Accessing the environment's locale encoding settings, Ludovic Courtès, 2011/11/23
- Re: Accessing the environment's locale encoding settings, Mike Gran, 2011/11/23
- Re: Accessing the environment's locale encoding settings,
Peter Brett <=
- Re: Accessing the environment's locale encoding settings, Mark H Weaver, 2011/11/24
- Re: Accessing the environment's locale encoding settings, Bruno Haible, 2011/11/20