delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/01/17/21:47:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Mon, 17 Jan 2005 19:45:31 -0700
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: setlocal...
In-reply-to: <01c4fce1$Blat.v2.2.2$a05e6b00@zahav.net.il>
To: djgpp-workers AT delorie DOT com
Message-id: <2vpou0th05dr43j06ije4h1nrsnhlhh5mk@4ax.com>
Organization: Systematic Software
MIME-version: 1.0
X-Mailer: Forte Agent 1.93/32.576 English (American)
References: <4rcku09t3nlh3d9trsjgk4dolotei29eq9 AT 4ax DOT com>
<200501161047 DOT j0GAlKTf019772 AT speedy DOT ludd DOT ltu DOT se>
<7cglu0lf1umq46r9l1ps73pt3ir57rjjan AT 4ax DOT com>
<01c4fc4f$Blat.v2.2.2$9eb38e80 AT zahav DOT net DOT il>
<ccmmu0h2bs7l8748dl3sp7h1egtev284fj AT 4ax DOT com>
<g6omu0lhag5bvru3keo9knh9q1thgnrksp AT 4ax DOT com>
<01c4fcca$Blat.v2.2.2$13d5f980 AT zahav DOT net DOT il>
<pl9ou0tiqrqo39p5ml6kuljl43qubns0eh AT 4ax DOT com>
<01c4fce1$Blat.v2.2.2$a05e6b00 AT zahav DOT net DOT il>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j0I2keUS016600
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

On Tue, 18 Jan 2005 00:11:23 +0200, Eli Zaretskii <eliz AT gnu DOT org>
wrote:

>> Date: Mon, 17 Jan 2005 14:24:48 -0700
>> From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
>> 
>> @code{"ll_CC"}@footnote{The POSIX locale code @code{"ll_CC"} consists
>> of the ISO language code @code{ll} and the ISO country code @code{CC},
>
>Since "ll" and "CC" stand for something else, they should be in @var:
>
> @code{"@var{ll}_ AT var{CC}"}@footnote{
> The POSIX locale code @code{"@var{ll}_ AT var{CC}"} consists
> of the ISO language code @var{ll} and the ISO country code @var{CC},
>
>I'd also add an example here ("de_DE_EURO" or some such).

Thanks for all the helpful advice on the fine points of info docs,
incorporated below: 

@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.  POSIX @env{LC_MESSAGES} are not
supported.
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. 
Modifies the character classes used by functions defined in headers
@file{ctype.h} and @file{regex.h}, returns appropriate values from
@code{strcoll} and @code{localeconv} functions, changes the decimal
character used by functions for converting numeric strings from input
and to output, and function @code{strftime} uses the appropriate NLS
formats for @code{"%x"} and @code{"%X"} conversions. 

-- 
Thanks. Take care, Brian Inglis

- Raw text -


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