[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug] Wrong determination of default locale
From: |
Bruno Haible |
Subject: |
[Pnet-developers] [bug] Wrong determination of default locale |
Date: |
Thu, 18 Dec 2003 15:36:44 +0100 |
User-agent: |
KMail/1.5 |
On POSIX systems, LC_ALL - when set to a nonempty value - overrides LANG
and all other LC_* variables. (See
http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html#tag_08_02
)
But pnet ignores LC_ALL:
=================== hello.cs =========================
using System;
using System.Threading;
class Hello {
static void Main() {
Console.WriteLine(Thread.CurrentThread.CurrentCulture);
Console.WriteLine(Thread.CurrentThread.CurrentUICulture);
}
}
=======================================================
$ cscc hello.cs -o hello.exe
$ LANG=de_DE ilrun hello.exe
de-DE
de-DE
; This is correct
$ LANG=de_DE LC_ALL=fr_FR ilrun hello.exe
de-DE
de-DE
; This should be twice fr-FR
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bug] Wrong determination of default locale,
Bruno Haible <=