aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/XmlRpcCS/XmlRpcResponder.cs
diff options
context:
space:
mode:
authorlbsa712007-07-05 18:31:59 +0000
committerlbsa712007-07-05 18:31:59 +0000
commit8df2119bc766132a36edb988d0963196694c4aa3 (patch)
treede10688a3b2255667a9190a6bf5a0483ab34a4d2 /Common/XmlRpcCS/XmlRpcResponder.cs
parent* Making trunk compile again for CC.net (diff)
downloadopensim-SC-8df2119bc766132a36edb988d0963196694c4aa3.zip
opensim-SC-8df2119bc766132a36edb988d0963196694c4aa3.tar.gz
opensim-SC-8df2119bc766132a36edb988d0963196694c4aa3.tar.bz2
opensim-SC-8df2119bc766132a36edb988d0963196694c4aa3.tar.xz
* Changed XmlRpc to specify utf-8
Diffstat (limited to 'Common/XmlRpcCS/XmlRpcResponder.cs')
-rw-r--r--Common/XmlRpcCS/XmlRpcResponder.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Common/XmlRpcCS/XmlRpcResponder.cs b/Common/XmlRpcCS/XmlRpcResponder.cs
index 41f855c..05377a2 100644
--- a/Common/XmlRpcCS/XmlRpcResponder.cs
+++ b/Common/XmlRpcCS/XmlRpcResponder.cs
@@ -30,6 +30,7 @@ namespace Nwc.XmlRpc
30 using System; 30 using System;
31 using System.Xml; 31 using System.Xml;
32 using System.Net.Sockets; 32 using System.Net.Sockets;
33 using System.Text;
33 34
34 /// <summary>The class is a container of the context of an XML-RPC dialog on the server side.</summary> 35 /// <summary>The class is a container of the context of an XML-RPC dialog on the server side.</summary>
35 /// <remarks>Instances of this class maintain the context for an individual XML-RPC server 36 /// <remarks>Instances of this class maintain the context for an individual XML-RPC server
@@ -98,8 +99,9 @@ namespace Nwc.XmlRpc
98 if (Logger.Delegate != null) 99 if (Logger.Delegate != null)
99 Logger.WriteEntry(xmlRpcResp.ToString(), LogLevel.Information); 100 Logger.WriteEntry(xmlRpcResp.ToString(), LogLevel.Information);
100 101
101 XmlRpcServer.HttpHeader(httpReq.Protocol, "text/xml", 0, " 200 OK", httpReq.Output); 102 XmlRpcServer.HttpHeader(httpReq.Protocol, "text/xml", 0, " 200 OK", httpReq.Output);
102 httpReq.Output.Flush(); 103 httpReq.Output.Flush();
104
103 XmlTextWriter xml = new XmlTextWriter(httpReq.Output); 105 XmlTextWriter xml = new XmlTextWriter(httpReq.Output);
104 _serializer.Serialize(xml, xmlRpcResp); 106 _serializer.Serialize(xml, xmlRpcResp);
105 xml.Flush(); 107 xml.Flush();