diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/EstateManager.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/EstateManager.cs b/OpenSim/Region/Environment/EstateManager.cs index 39efecd..9c53f38 100644 --- a/OpenSim/Region/Environment/EstateManager.cs +++ b/OpenSim/Region/Environment/EstateManager.cs | |||
@@ -634,7 +634,8 @@ namespace OpenSim.Region.Environment | |||
634 | 634 | ||
635 | public void sendRegionInfoPacket(IClientAPI remote_client) | 635 | public void sendRegionInfoPacket(IClientAPI remote_client) |
636 | { | 636 | { |
637 | Encoding _enc = Encoding.ASCII; | 637 | // ENCODING FAULT |
638 | Encoding _enc = Encoding.UTF8; | ||
638 | 639 | ||
639 | AgentCircuitData circuitData = remote_client.RequestClientInfo(); | 640 | AgentCircuitData circuitData = remote_client.RequestClientInfo(); |
640 | 641 | ||
diff --git a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs index ebc8568..10e3840 100644 --- a/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs +++ b/OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | |||
@@ -328,7 +328,7 @@ namespace OpenSim.Region.Environment.Modules | |||
328 | if (count != 0) | 328 | if (count != 0) |
329 | { | 329 | { |
330 | // translate from bytes to ASCII text | 330 | // translate from bytes to ASCII text |
331 | tempString = Encoding.ASCII.GetString(buf, 0, count); | 331 | tempString = Encoding.UTF8.GetString(buf, 0, count); |
332 | 332 | ||
333 | // continue building the string | 333 | // continue building the string |
334 | sb.Append(tempString); | 334 | sb.Append(tempString); |
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 327956e..b0ed04e 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -45,7 +45,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
45 | 45 | ||
46 | public partial class SceneObjectGroup : EntityBase | 46 | public partial class SceneObjectGroup : EntityBase |
47 | { | 47 | { |
48 | private Encoding enc = Encoding.ASCII; | 48 | // ENCODING FAULT |
49 | private Encoding enc = Encoding.UTF8; | ||
49 | 50 | ||
50 | protected SceneObjectPart m_rootPart; | 51 | protected SceneObjectPart m_rootPart; |
51 | 52 | ||