[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 10:34:04 -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-15 07:08:47.000000000 -0500
+++ shadow/54397.tmp.5885	2004-02-16 10:34:04.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 54397
 Product: Mono/Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jorn@nl.linux.org               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -17,6 +17,37 @@
 Summary: CurrentCulture and CurrentUICulture not set
 
 System.Globalization.CurrentCulture and
 System.Globalization.CurrentUICulture are unset. They should be set to
 whatever the user has in his LANG and LC_ALL variables. (With some
 different formatting, ie en_US.UTF-8 should be set as en-US)
+
+------- Additional Comments From dick@ximian.com  2004-02-16 10:34 -------
+This has been implemented for some time; you must have an old version
+of mono.
+
+[dick@hagbard /tmp] [ 3:20] 
+:; cat cult.cs 
+
+using System;
+using System.Globalization;
+
+public class foo {
+        public static void Main() {
+                Console.WriteLine("CurrentCulture is " +
+CultureInfo.CurrentCulture);
+                Console.WriteLine("CurrentUICulture is " +
+CultureInfo.CurrentUICulture);
+        }
+}
+
+
+[dick@hagbard /tmp] [ 3:20] 
+:; echo $LANG
+en_GB
+
+[dick@hagbard /tmp] [ 3:21] 
+:; mono cult.exe
+CurrentCulture is en-GB
+CurrentUICulture is en-GB
+
+