Mail Archives: djgpp-workers/2005/01/22/11:00:51
On Sat, 22 Jan 2005 10:52:28 +0200, Eli Zaretskii <eliz AT gnu DOT org>
wrote:
>> Date: Fri, 21 Jan 2005 10:49:59 -0700
>> From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
>>
>> >Can you show an example of the locale setting that uses the @var{euro}
>> >part? I cannot figure out how to write that correctly without seeing
>> >an example.
>>
>> Explicitly done in my examples upthread:
>>
>> for example, @samp{"de_AT.850"} for the German-speaking Austrian
>> locale, or @samp{"fr_BE_EURO.850"} for the French-speaking Belgian
>> locale using the Euro, both using Western multilingual ``Latin-1''
>> code page number 850.
>
>Then @var is not applicable here at all, since it doesn't stand for
>anything. You should say (I also fixed some unclear or confusing
>wording) something like this:
>
> The POSIX-like locale code @code{"@var{LL}_ AT var{CC}.@var{CP}"}
> consists of the ISO two-letter lowercase language code @var{LL},
> the ISO two-letter uppercase country code @var{CC} optionally
> followed by the suffix @code{"_EURO"} if the country has adopted
> the Euro as its currency unit, and the codepage number @var{CP} (a
> number between 1 and 65534). For example, @samp{"de_AT.850"} is
> the locale code for the German-speaking Austrian locale, and
> @samp{"fr_BE_EURO.850"} is for the French-speaking Belgian locale
> using the Euro, both using Western multilingual ``Latin-1'' code
> page number 850.
>
>In other words, @var{CC} stands for either a two-letter country code
>or for a country code followed by "_EURO".
I would prefer to continue to distinguish between the territory code
and the euro currency indication, as they are separate concepts and
lexical elements. I posted an alternative yesterday:
Due to limitations of the @file{country.sys} driver only
the current user locale @code{""} or its name in the POSIX-like form
@code{"@var{LL}_ AT var{TT}@var{ECU}.@var{CP}"}, and @code{"C"} (aka
@code{"POSIX"}) locales are supported.
@cindex locale code format
The POSIX-like locale code
@code{"@var{LL}_ AT var{TT}@var{ECU}.@var{CS}"}
consists of the ISO two letter lowercase language code @var{LL}, the
ISO two letter uppercase territory code @var{TT}, optionally followed
by the suffix @code{"_EURO"} for @var{ECU} if the country has adopted
the euro as its currency unit, and the character set @var{CS}
specified by a code page number between 1 and 65534;
...
--
Thanks. Take care, Brian Inglis
- Raw text -