[Mono-bugs] [Bug 51861][Maj] New - Problems with Globalization specific info

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 8 Dec 2003 09:59:32 -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 bk@slashdev.it.

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

--- shadow/51861	2003-12-08 09:59:32.000000000 -0500
+++ shadow/51861.tmp.1328	2003-12-08 09:59:32.000000000 -0500
@@ -0,0 +1,65 @@
+Bug#: 51861
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: Linux Slackware 9.1 kernel 2.4.22
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bk@slashdev.it               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problems with Globalization specific info
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+With Mono 0.29 installed with ICU 2.6.1 there are some trouble with
+Globalization
+
+Steps to reproduce the problem:
+1. Run the sample:
+using System;
+using System.Globalization;
+
+public class LocaleTest {
+	[STAThread] 
+	static void Main(){
+	    System.Threading.Thread.CurrentThread.CurrentCulture = new
+CultureInfo("it-IT");
+		Console.WriteLine("Current Culture: " +
+System.Threading.Thread.CurrentThread.CurrentCulture.ToString());
+
+		Console.WriteLine("LCID: " +
+System.Threading.Thread.CurrentThread.CurrentCulture.LCID);
+
+		Console.WriteLine("NumberDecimalSeparator: " +
+NumberFormatInfo.CurrentInfo.NumberDecimalSeparator);
+	}
+}
+
+Actual Results:
+
+Current Culture: it-IT
+LCID: 1040
+NumberDecimalSeparator: .
+
+Expected Results:
+
+Current Culture: it-IT
+LCID: 1040
+NumberDecimalSeparator: ,
+
+How often does this happen? 
+Always.
+
+Additional Information:
+This happens also with other many field of CurrentInfo
+
+Thanx,
+Massimo Prota