# HG changeset patch # User Ivo Smits # Date 1366207869 -7200 # Node ID 3bfb3ee64362612f69afb5cc6ef3c8e3ed949b12 # Parent 5bfc6c68591e3088f70dfc3e43e5bdf15615d7f0 Make XmlSocket useable stand-alone diff -r 5bfc6c68591e -r 3bfb3ee64362 Xml/Socket.cs --- 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();