[Mono-bugs] [Bug 57009][Nor] Changed - UTF8Encoding cannot decode some valid UTF8

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 May 2004 08:27:03 -0400 (EDT)


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 sebastien@ximian.com.

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

--- shadow/57009	2004-04-14 12:48:49.000000000 -0400
+++ shadow/57009.tmp.5315	2004-05-14 08:27:03.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sebastien@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -36,6 +36,12 @@
 How often does this happen? 
 Always
 
 
 Additional Information:
 MS Fx 1.1 pass the two tests.
+
+------- Additional Comments From sebastien@ximian.com  2004-05-14 08:27 -------
+It seems the algorithm between GetBytesCount and GetBytes are
+different. So GetBytesCount returns 4 (which is ok in this case) but
+GetBytes encode to only 3 bytes (which isn't ok) and loop for another
+iteration (which cause the exception).