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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 6 Jun 2003 06:21:29 -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 gonzalo@ximian.com.

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

--- shadow/44227	Fri Jun  6 04:20:54 2003
+++ shadow/44227.tmp.2314	Fri Jun  6 06:21:28 2003
@@ -1,14 +1,14 @@
 Bug#: 44227
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Debian Woody
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: pbaena@uol.com.ar               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -29,6 +29,13 @@
 
 With this file: http://gnomencoder.sourceforge.net/dejavu.txt
 
 Throws an Unhandled Exception: System.ArgumentException: Arg_InvalidUTF8
 
 Which .NET doesn't.
+
+------- Additional Comments From gonzalo@ximian.com  2003-06-06 06:21 -------
+This fixes the problem:
+
+cat dejavu.txt|iconv --from latin1 --to utf8 > u && mv u dejavu.txt
+
+Another option is to pass Encoding.Default as the encoding of the stream .