From fd8aa566b55f8ced07ea274c041625833e31d4d5 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 21 Mar 2008 02:32:56 +0000 Subject: * Removed a bad encoder. --- OpenSim/Region/ClientStack/ClientView.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 0215994..23354a1 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -84,8 +84,6 @@ namespace OpenSim.Region.ClientStack private int m_lastPacketsReceived = 0; private byte[] ZeroOutBuffer = new byte[4096]; - // ENCODING FAULT - private readonly Encoding m_encoding = Encoding.UTF8; private readonly LLUUID m_agentId; private readonly uint m_circuitCode; private int m_moneyBalance; @@ -3540,7 +3538,7 @@ namespace OpenSim.Region.ClientStack if (handlerObjectDescription != null) { handlerObjectDescription(this, objDes.ObjectData[i].LocalID, - m_encoding.GetString(objDes.ObjectData[i].Description)); + Util.FieldToString(objDes.ObjectData[i].Description)); } } break; @@ -3554,7 +3552,7 @@ namespace OpenSim.Region.ClientStack if (handlerObjectName != null) { handlerObjectName(this, objName.ObjectData[i].LocalID, - m_encoding.GetString(objName.ObjectData[i].Name)); + Util.FieldToString(objName.ObjectData[i].Name)); } } break; -- cgit v1.1