in the culture info tables is lowercase.
svn path=/trunk/mcs/; revision=26063
+2004-04-27 Jackson Harper <jackson@ximian.com>
+
+ * CultureInfo.cs: Make specific names lower case, because all data
+ in the culture info tables is lowercase.
+
2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CultureInfo.cs: Call invariant String.ToLower
return InvariantCulture;
CultureInfo ci = new CultureInfo ();
- if (!construct_internal_locale_from_specific_name (ci, name))
+ if (!construct_internal_locale_from_specific_name (ci, name.ToLowerInvariant ()))
throw new ArgumentException ("Culture name " + name +
" is not supported.", name);