[Mono-bugs] [Bug 51529][Wis] New - Encoding problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Dec 2003 01:25:23 -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 shiziye@hotmail.com.

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

--- shadow/51529	2003-12-01 01:25:22.000000000 -0500
+++ shadow/51529.tmp.8060	2003-12-01 01:25:23.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 51529
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: shiziye@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Encoding problem
+
+I am a chinese. My system default encoding is GB18030( type "locale" to get).
+When I use Console class it can not process chinese word correctly.
+For example, I my type
+  string str = Console.ReadLine();
+when I test it in the console, and I input a chinese word. It can not get
+the word correctly. I can only get my word from Console.GetStandartInput().
+The same happend when I try to output a chinese word with Console.WriteLine();