[Mono-bugs] [Bug 52856][Nor] New - CultureInfo:name_to_lcid is case-sensitive
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jan 2004 12:57:57 -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 rich@velvetsea.net.
http://bugzilla.ximian.com/show_bug.cgi?id=52856
--- shadow/52856 2004-01-14 12:57:57.000000000 -0500
+++ shadow/52856.tmp.15173 2004-01-14 12:57:57.000000000 -0500
@@ -0,0 +1,26 @@
+Bug#: 52856
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: rich@velvetsea.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CultureInfo:name_to_lcid is case-sensitive
+
+It appears that the name_to_lcid method in CultureInfo.cs performs a case-
+sensitive comparison. When using the skmMenuDev control (from
+http://www.gotdotnet.com/'s workspaces), the menu control asks for the 'en-
+us' culture but name_to_lcid raises a System.ArgumentException with the
+message "Culture name en-us is not supported". This is obviously true
+since the culture name is defined as 'en-US' in Mono. For compatibility
+with other controls, it seems that the comparisons should be made case-
+insensitive.