This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.1 release date?


2009/11/19 Thomas Wolff:
> As far as I know LANG is a variable predating the LC_ variables in usage, so
> very few people might know it and not the others, but some other people
> might know LC_* and not LANG.
> I think using LC_CTYPE here is better because it's more specific whereas
> LANG is a generic catch-all setting.

The important thing here is that LANG is the lowest-priority setting,
which ensures that it will not override any user settings.


> Someone might set LC_MESSAGES=gr to get
> Greek messages, without caring about the charset here. If that was
> configured with LC_CTYPE, all is well and they can happily coexist, getting
> Greek messages in the terminal charset. If it was configured with LANG, it
> would be overridden and terminal handling would break.

Wrong. LC_MESSAGES=gr would override LANG to get Greek messages as
intended, but it would have no effect on the terminal, which uses
LC_ALL ?: LC_CTYPE ?: LANG.

Andy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]