delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/01/19/13:27:39

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
Message-Id: <200501191825.j0JIPrbW011253@speedy.ludd.ltu.se>
Subject: Re: setlocal...
In-Reply-To: <2vpou0th05dr43j06ije4h1nrsnhlhh5mk@4ax.com> "from Brian Inglis
at Jan 17, 2005 07:45:31 pm"
To: djgpp-workers AT delorie DOT com
Date: Wed, 19 Jan 2005 19:25:53 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-ltu-MailScanner-Information: Please contact the ISP for more information
X-ltu-MailScanner: Found to be clean
X-MailScanner-From: ams AT ludd DOT ltu DOT se
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Brian Inglis:
> @findex setlocale AT r{, standard and current locales supported}
> The function @code{setlocale} now supports the following categories in
> environment variables: @env{LC_CTYPE}, @env{LC_COLLATE},
> @env{LC_NUMERIC}, @env{LC_MONETARY}, @env{LC_TIME}, as well as
> @env{LC_ALL} and also @env{LANG}, which provide defaults for all
> categories not explicitly given.

Hmm... There's no mention of LANG in setlocal.txh. Should there be?

> Due to limitations of the @file{country.sys} driver only
> the current user locale @code{""} or its name in the POSIX form
> @code{"@var{ll}_ AT var{CC}"}@footnote{
> The POSIX locale code @code{"@var{ll}_ AT var{CC}"} consists of the ISO
> two letter language code @var{ll} and the ISO two letter
> country/territory code @var{CC}, optionally followed by the suffix
> @code{_EURO}, if the country has adopted the Euro as its currency
> unit; for example, @code{"de_AT"} for the German-speaking Austrian
> locale, or @code{"fr_BE_EURO"} for the French-speaking Belgian locale
> using the Euro.
> }, and @code{"C"} (aka @code{"POSIX"}) locales are supported. 

This is a really good explanantion about the format of those
variables. I propose to add this to setlocal.txh too, with one
change. Why putting the description of how @code{"@var{ll}_ AT var{CC}"}
is built in a footnote? I think it should be in the text with all the
rest.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019