[Mono-bugs] [Bug 75505][Blo] New - Cultures Codes Rejected: zh-TW
and zh-CN
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jul 7 18:10:57 EDT 2005
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 rlyon at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75505
--- shadow/75505 2005-07-07 18:10:57.000000000 -0400
+++ shadow/75505.tmp.9894 2005-07-07 18:10:57.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 75505
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: rlyon at novell.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Summary: Cultures Codes Rejected: zh-TW and zh-CN
+
+Thread.CurrentThread.CurrentUICulture = CultureInfo.CreateSpecificCulture
+("zh-TW");
+
+With "zh-TW" and "zh-CN" I get an exception like:
+
+System.ArgumentException: Culture name zh-TW is not supported.
+Parameter name: zh-TW
+in <0x000be> System.Globalization.CultureInfo:CreateSpecificCulture
+(System.String name)
+
+Either code should be valid. These are the codes sent by browsers
+(except lowercase). Both of these codes work on DotNET, and appear to be
+valid according to the documentation.
+
+FYI, the code "pt-BR" is accepted by the assignment.
More information about the mono-bugs
mailing list