Mercurial > hg > ucis.core
diff Xml/Socket.cs @ 28:3bfb3ee64362
Make XmlSocket useable stand-alone
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Wed, 17 Apr 2013 16:11:09 +0200 |
parents | 3ab940a0c7a0 |
children | 0fc3f42a8555 |
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();