[Mono-bugs] [Bug 76926][Cri] Changed - ASCIIEncoding.GetString implementations are broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Dec 5 21:32:39 EST 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.


--- shadow/76926	2005-12-05 19:44:50.000000000 -0500
+++ shadow/76926.tmp.1594	2005-12-05 21:32:39.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 76926
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: 001 One hour
 Priority: Critical
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: grant at janrain.com               
 QAContact: mono-bugs at ximian.com
@@ -37,6 +37,16 @@
 How often does this happen? 
 Additional Information:
 It looks like you could just remove the overridden methods from
 ASCIIEncoding because Encoding does the correct thing.
+------- Additional Comments From atsushi at ximian.com  2005-12-05 21:32 -------
+You get your expected result only under MS.NET 2.0. Before 2.0, there
+is no "correct" behavior since it is Windows encoding implementation
+dependent. I don't think the code above makes sense (it depends on
+broken premise).
+New .NET 2.0 compatible Encoding implementation is in progress, and
+actually for ASCII it is already implemented in svn. (Thus on 2.0
+profile we get this "expected" result.)

More information about the mono-bugs mailing list