[Mono-bugs] [Bug 54397][Nor] Changed - CurrentCulture and CurrentUICulture not set

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 16 Feb 2004 11:13:18 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dick@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=54397

--- shadow/54397	2004-02-16 10:44:21.000000000 -0500
+++ shadow/54397.tmp.6060	2004-02-16 11:13:18.000000000 -0500
@@ -58,6 +58,18 @@
 jorn > echo $LANG
 en_GB.UTF-8
 jorn > mono ./test.exe
 CurrentCulture is
 CurrentUICulture is
 jorn > 
+
+------- Additional Comments From dick@ximian.com  2004-02-16 11:13 -------
+If you pass a culture in $LANG that your system doesn't know, then the
+CurrentCulture is set to InvariantCulture.  (print the LCID in the
+example code, you should see 127.)
+
+ie
+
+:; LANG=wibble mono cult.exe
+CurrentCulture is 127
+CurrentUICulture is 127
+