[Mono-bugs] [Bug 51531][Wis] New - Unicode Encoding Problem
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Dec 2003 01:39:53 -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=51531
--- shadow/51531 2003-12-01 01:39:53.000000000 -0500
+++ shadow/51531.tmp.8148 2003-12-01 01:39:53.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 51531
+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: Unicode Encoding Problem
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+type code below
+ byte[] b = new byte[] {255, 254, 115, 0, 104, 0, 105, 0};
+ string str = System.Text.Encoding.Unicode.GetString(b, 2, b.Length - 2);
+ Console.WriteLine(str);
+
+Actual Results:
+ output "hi";
+
+Expected Results:
+ output "shi";
+
+How often does this happen?
+ every time;
+
+Additional Information:
+ there are many encoding problem with mono