changeset 28:3bfb3ee64362

Make XmlSocket useable stand-alone
author Ivo Smits <Ivo@UCIS.nl>
date Wed, 17 Apr 2013 16:11:09 +0200
parents 5bfc6c68591e
children 2ecb82eea559
files Xml/Socket.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Xml/Socket.cs	Tue Apr 16 01:16:45 2013 +0200
+++ b/Xml/Socket.cs	Wed Apr 17 16:11:09 2013 +0200
@@ -36,7 +36,7 @@
 
 			pStream = Stream;
 		}
-		public XmlSocket(Stream Stream) : this(Stream, new UTF8NoPreamble()) { }
+		public XmlSocket(Stream Stream) : this(Stream, new UTF8Encoding(false)) { }
 
 		public virtual MemoryStream ReadRawDocument() {
 			MemoryStream Buffer = new MemoryStream();