diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 84af9f6758..f79047737a 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -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; diff --git a/bin/XMLRPC.dll b/bin/XMLRPC.dll index adf7297518..922152e0de 100644 Binary files a/bin/XMLRPC.dll and b/bin/XMLRPC.dll differ