From: Peter Brett <peter@peter-b.co.uk>
To: guile-devel@gnu.org
Subject: Re: Accessing the environment's locale encoding settings
Date: Thu, 24 Nov 2011 13:16:29 +0000 [thread overview]
Message-ID: <we1mr50xirte.fsf@ssclt001.ee.surrey.ac.uk> (raw)
In-Reply-To: 878vn6l8qf.fsf@gnu.org
ludo@gnu.org (Ludovic Courtès) writes:
> Hi Mike,
>
> Mike Gran <spk121@yahoo.com> 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 <peter@peter-b.co.uk>
Remote Sensing Research Group
Surrey Space Centre
next prev parent reply other threads:[~2011-11-24 13:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 0:13 Accessing the environment's locale encoding settings Ludovic Courtès
2011-11-16 2:00 ` Bruno Haible
2011-11-16 10:35 ` Ludovic Courtès
2011-11-16 16:11 ` Noah Lavine
2011-11-16 16:32 ` Peter Brett
2011-11-18 22:17 ` Mark H Weaver
2011-11-20 16:55 ` Bruno Haible
2011-11-20 17:41 ` Ludovic Courtès
2011-11-20 19:44 ` Mike Gran
2011-11-23 23:28 ` Ludovic Courtès
2011-11-24 4:42 ` Mike Gran
2011-11-24 13:16 ` Peter Brett [this message]
2011-11-25 2:11 ` Mark H Weaver
2011-12-15 19:08 ` Ludovic Courtès
2011-11-20 20:12 ` Bruno Haible
2011-12-15 0:41 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=we1mr50xirte.fsf@ssclt001.ee.surrey.ac.uk \
--to=peter@peter-b.co.uk \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).