[Mono-bugs] [Bug 44227][Wis] New - StreamReader not recognizing valid chars

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 6 Jun 2003 04:20:55 -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 pbaena@uol.com.ar.

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

--- shadow/44227	Fri Jun  6 04:20:54 2003
+++ shadow/44227.tmp.8053	Fri Jun  6 04:20:54 2003
@@ -0,0 +1,34 @@
+Bug#: 44227
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pbaena@uol.com.ar               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: StreamReader not recognizing valid chars
+
+Compiling this program:
+
+class test
+{
+	public static void Main ()
+	{
+		System.IO.StreamReader sr = new System.IO.StreamReader ("dejavu.txt");
+		System.Console.Write (sr.ReadToEnd());
+	}
+}
+
+With this file: http://gnomencoder.sourceforge.net/dejavu.txt
+
+Throws an Unhandled Exception: System.ArgumentException: Arg_InvalidUTF8
+
+Which .NET doesn't.