aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/XmlRpcCS/SimpleHttpRequest.cs
diff options
context:
space:
mode:
authorlbsa712007-07-08 07:53:48 +0000
committerlbsa712007-07-08 07:53:48 +0000
commitd6d7e2127cc87059f21ed6f5d3d393b367bbaff7 (patch)
tree9acd19842a397893344885dd8a94448bc421a8c3 /Common/XmlRpcCS/SimpleHttpRequest.cs
parent* Maintainence: Applying Dan's ODE Patch to Trunk (diff)
downloadopensim-SC_OLD-d6d7e2127cc87059f21ed6f5d3d393b367bbaff7.zip
opensim-SC_OLD-d6d7e2127cc87059f21ed6f5d3d393b367bbaff7.tar.gz
opensim-SC_OLD-d6d7e2127cc87059f21ed6f5d3d393b367bbaff7.tar.bz2
opensim-SC_OLD-d6d7e2127cc87059f21ed6f5d3d393b367bbaff7.tar.xz
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.
Diffstat (limited to 'Common/XmlRpcCS/SimpleHttpRequest.cs')
-rw-r--r--Common/XmlRpcCS/SimpleHttpRequest.cs4
1 files changed, 2 insertions, 2 deletions
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
57 { 57 {
58 _client = client; 58 _client = client;
59 59
60 _output = new StreamWriter(client.GetStream(), Encoding.UTF8 ); 60 _output = new StreamWriter(client.GetStream() );
61 _input = new StreamReader(client.GetStream(), Encoding.UTF8 ); 61 _input = new StreamReader(client.GetStream() );
62 62
63 GetRequestMethod(); 63 GetRequestMethod();
64 GetRequestHeaders(); 64 GetRequestHeaders();