[Mono-bugs] [Bug 76588][Nor] New - Encoding.GetEncoding ("euc-kr") does not work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 29 05:43:23 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 atsushi at ximian.com.

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

--- shadow/76588	2005-10-29 05:43:23.000000000 -0400
+++ shadow/76588.tmp.3796	2005-10-29 05:43:23.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 76588
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Encoding.GetEncoding ("euc-kr") does not work
+
+(see the summary; it tells all)
+
+using System;
+using System.Text;
+
+public class Test
+{
+        public static void Main ()
+        {
+                Console.WriteLine (Encoding.GetEncoding (949).WebName);
+                Console.WriteLine (Encoding.GetEncoding ("euc-kr").CodePage);
+        }
+}
+
+Actual Results:
+
+euc-kr
+
+Unhandled Exception: System.NotSupportedException: Encoding name `euc-kr'
+not su
+pported
+in <0x00265> System.Text.Encoding:GetEncoding (System.String name)
+in <0x0002a> Test:Main ()
+
+Expected Results:
+
+ks_c_5601-1987
+51949
+
+How often does this happen? 
+
+consistently.


More information about the mono-bugs mailing list