[Mono-bugs] [Bug 30009][Nor] Changed - Should use Encoding.Default instead of UnixEncoding

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Dec 2002 01:38:30 -0000


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=30009

--- shadow/30009	Wed Sep 11 07:41:17 2002
+++ shadow/30009.tmp.24730	Wed Dec 11 20:38:30 2002
@@ -1,12 +1,12 @@
 Bug#: 30009
 Product: Mono/Class Libraries
 Version: unspecified
 OS: other
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: miguel@ximian.com                            
 ReportedBy: miguel@ximian.com               
@@ -17,6 +17,14 @@
 Summary: Should use Encoding.Default instead of UnixEncoding
 BugsThisDependsOn: 30008[FIXED]
 
 Encoding.Default should be used by the Console code instead of our hacked
 UnixEncoding.  The downside is that we have to return the correct code page
 for it.
+
+------- Additional Comments From gonzalo@ximian.com  2002-12-11 20:38 -------
+This should be fixed now as Default properly gets the encoding from
+g_get_encoding () and loads the appropiate class (and UnixEncoding ==
+Default).
+
+May be in the case of an exception thrown when loading the encoding,
+we should default to UTF8Unmarked instead of UTF8