kernel: fix determination of using locale
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Apr 17 22:39:56 CDT 2006
"Sergei Butakov" <butsergej at yandex.ru> wrote:
> If set
> # export LANG="POSIX"
> # export LC_CTYPE="ru_RU.CP1251"
> system_lcid (defined by LC_CTYPE) will be "ru_RU.CP1251";
> user_lcid (defined by LANG) will be "en_US" - It's bug and it's visible in
> programs for Windows.
That's correct IMO, LANG takes the precedence over LC_TYPE. If you specify
LANG="POSIX" you get what you asked for. AFAIK glibc does the same thing.
--
Dmitry.
More information about the wine-devel
mailing list