From 488a325ab63ae2670b1595b77bd3f8247b689e56 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Wed, 30 May 2007 04:36:21 +0000 Subject: [PATCH] * Switched from ASCII encoding to llRetardedEncoding. --- OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs b/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs index b4192cc018..7bfc0ce32b 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.PacketHandlers.cs @@ -153,7 +153,7 @@ namespace OpenSim { Hashtable mp = (Hashtable)simMapProfiles[iii]; mbReply.Data[iii] = new MapBlockReplyPacket.DataBlock(); - mbReply.Data[iii].Name = System.Text.Encoding.ASCII.GetBytes((string)mp["name"]); + mbReply.Data[iii].Name = libsecondlife.Helpers.StringToField((string)mp["name"]); mbReply.Data[iii].Access = System.Convert.ToByte(mp["access"]); mbReply.Data[iii].Agents = System.Convert.ToByte(mp["agents"]); mbReply.Data[iii].MapImageID = new LLUUID((string)mp["map-image-id"]);