From d6d7e2127cc87059f21ed6f5d3d393b367bbaff7 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Sun, 8 Jul 2007 07:53:48 +0000 Subject: Who would have known that the only way of specifying utf-8 without preamble, is to not specify encoding at all. Or 'null' when sending an Encoder. --- Common/XmlRpcCS/SimpleHttpRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Common/XmlRpcCS/SimpleHttpRequest.cs') diff --git a/Common/XmlRpcCS/SimpleHttpRequest.cs b/Common/XmlRpcCS/SimpleHttpRequest.cs index aa260f4..b331ce0 100644 --- a/Common/XmlRpcCS/SimpleHttpRequest.cs +++ b/Common/XmlRpcCS/SimpleHttpRequest.cs @@ -57,8 +57,8 @@ namespace Nwc.XmlRpc { _client = client; - _output = new StreamWriter(client.GetStream(), Encoding.UTF8 ); - _input = new StreamReader(client.GetStream(), Encoding.UTF8 ); + _output = new StreamWriter(client.GetStream() ); + _input = new StreamReader(client.GetStream() ); GetRequestMethod(); GetRequestHeaders(); -- cgit v1.1