* updated bugfixed xmlrpc for massive win

* got rid of the ugliest hack in the project
Sugilite
lbsa71 2007-07-05 18:30:30 +00:00
parent 583f2a9de8
commit 8bdbdf48c7
2 changed files with 1 additions and 5 deletions

View File

@ -173,12 +173,8 @@ namespace OpenSim.Framework.Servers
string responseString = XmlRpcResponseSerializer.Singleton.Serialize(xmlRpcResponse);
// This must be absolutely fuggliest hack in this project. Don't just stand there, DO SOMETHING!
responseString = Regex.Replace(responseString, "utf-16", "utf-8");
byte[] buffer = Encoding.UTF8.GetBytes(responseString);
response.SendChunked = false;
response.ContentLength64 = buffer.Length;
response.ContentEncoding = Encoding.UTF8;

Binary file not shown.