[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 Brett <address@hidden>
Remote Sensing Research Group
Surrey Space Centre

reply via email to

[Prev in Thread] Current Thread [Next in Thread]