diff options
author | lbsa71 | 2007-07-05 18:30:30 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-05 18:30:30 +0000 |
commit | 8bdbdf48c7896a7cb47d49544ab528a508e557c9 (patch) | |
tree | 258a1087ce5e6341a0d903f88db67415c1a48b39 /OpenSim/Framework/Servers | |
parent | *Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData) (diff) | |
download | opensim-SC_OLD-8bdbdf48c7896a7cb47d49544ab528a508e557c9.zip opensim-SC_OLD-8bdbdf48c7896a7cb47d49544ab528a508e557c9.tar.gz opensim-SC_OLD-8bdbdf48c7896a7cb47d49544ab528a508e557c9.tar.bz2 opensim-SC_OLD-8bdbdf48c7896a7cb47d49544ab528a508e557c9.tar.xz |
* updated bugfixed xmlrpc for massive win
* got rid of the ugliest hack in the project
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 84af9f6..f790477 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -173,12 +173,8 @@ namespace OpenSim.Framework.Servers | |||
173 | 173 | ||
174 | string responseString = XmlRpcResponseSerializer.Singleton.Serialize(xmlRpcResponse); | 174 | string responseString = XmlRpcResponseSerializer.Singleton.Serialize(xmlRpcResponse); |
175 | 175 | ||
176 | // This must be absolutely fuggliest hack in this project. Don't just stand there, DO SOMETHING! | ||
177 | responseString = Regex.Replace(responseString, "utf-16", "utf-8"); | ||
178 | |||
179 | byte[] buffer = Encoding.UTF8.GetBytes(responseString); | 176 | byte[] buffer = Encoding.UTF8.GetBytes(responseString); |
180 | 177 | ||
181 | |||
182 | response.SendChunked = false; | 178 | response.SendChunked = false; |
183 | response.ContentLength64 = buffer.Length; | 179 | response.ContentLength64 = buffer.Length; |
184 | response.ContentEncoding = Encoding.UTF8; | 180 | response.ContentEncoding = Encoding.UTF8; |