[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 10:49:15 -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-05-14 08:27:03.000000000 -0400
+++ shadow/57009.tmp.7035	2004-05-14 10:49:15.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 57009
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sebastien@ximian.com               
 QAContact: mono-bugs@ximian.com
@@ -42,6 +42,10 @@
 
 ------- 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).
+
+------- Additional Comments From sebastien@ximian.com  2004-05-14 10:49 -------
+Moved --charCount later to match the logic of GetBytesCount(). That
+fixed 2 unit tests failures in corlib.