Parcourir la source

2002-11-06 Miguel de Icaza <[email protected]>

	* StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8859
Miguel de Icaza il y a 23 ans
Parent
commit
855eae99ca

+ 4 - 0
mcs/class/corlib/System.IO/ChangeLog

@@ -1,3 +1,7 @@
+2002-11-06  Miguel de Icaza  <[email protected]>
+
+	* StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
+
 2002-10-31  Dick Porter  <[email protected]>
 
 	* FileStream.cs: Fix buffering properly this time.  Also kludge

+ 2 - 2
mcs/class/corlib/System.IO/StreamWriter.cs

@@ -64,10 +64,10 @@ namespace System.IO {
 		}
 
 		public StreamWriter (string path)
-			: this (path, false, Encoding.UTF8, DefaultFileBufferSize) {}
+			: this (path, false, Encoding.UTF8Unmarked, DefaultFileBufferSize) {}
 
 		public StreamWriter (string path, bool append)
-			: this (path, append, Encoding.UTF8, DefaultFileBufferSize) {}
+			: this (path, append, Encoding.UTF8Unmarked, DefaultFileBufferSize) {}
 
 		public StreamWriter (string path, bool append, Encoding encoding)
 			: this (path, append, encoding, DefaultFileBufferSize) {}