Mail Archives: djgpp-workers/2005/01/17/16:25:48
On Mon, 17 Jan 2005 21:22:49 +0200, Eli Zaretskii <eliz AT gnu DOT org>
wrote:
>> Date: Mon, 17 Jan 2005 00:02:57 -0700
>> From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
>>
>> e.g.
>>
>> @findex setlocale AT r{, standard and current locales supported}
>> The function @code{setlocale} now supports the following categories in
>> environment variables: @code{LC_CTYPE}, @code{LC_COLLATE},
>> @code{LC_NUMERIC}, @code{LC_MONETARY}, @code{LC_TIME}, as well as
>> @code{LC_ALL}, and also @code{LANG}. POSIX @code{LC_MESSAGES} are not
>> supported. Due to limitations of the @file{country.sys} driver only
>> the current user locale @code{""} or its name, and @code{"C"} (aka
>> @code{"POSIX"}) locales are supported.
... latter part unchanged
>Exactly.
Adding JTW's input on @env{} and additions, some of which may be more
appropriate in the setlocale info file:
@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{"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},
optionally followed by the suffix @code{_EURO}, if the country has
adopted the Euro as its currency unit.}, 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 -