[Mono-bugs] [Bug 79189][Wis] Changed - StreamReader should detect UTF-32 and UTF-32 big-endian byte order marks as well (only in profile 2.0)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Sep 24 13:28:38 EDT 2006


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 peter.dettman at iinet.net.au.

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

--- shadow/79189	2006-09-24 13:14:41.000000000 -0400
+++ shadow/79189.tmp.14444	2006-09-24 13:28:38.000000000 -0400
@@ -2,25 +2,33 @@
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: kornelpal at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: StreamReader should detect UTF-32 and UTF-32 big-endian byte order marks as well (only in profile 2.0)
 
 Profile 2.0 supports UTF-32 so StreamReader should detect UTF-32 and UTF-
 32 big-endian byte order marks as well. MS.NET 2.0 detects UTF-32 byte 
 order mark as well.
 
 ------- Additional Comments From peter.dettman at iinet.net.au  2006-09-24 13:14 -------
 Created an attachment (id=17739)
 Proposed patch
 
+
+------- Additional Comments From peter.dettman at iinet.net.au  2006-09-24 13:28 -------
+The above patch addresses the following items:
+1) UTF32Encoding.GetPreamble fixed
+2) New test class UTF32EncodingTest added in Test/System.Text for above
+3) Encoding.BigEndianUTF32 property access changed to internal
+3) StreamReader modified to detect UTF32 LE/BE
+4) New test case added to StreamReaderTest for above
+


More information about the mono-bugs mailing list