From 7286bd60b07e809f33215256cc71b39c15437c65 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 21 Mar 2008 02:26:00 +0000 Subject: * Converted a large number of ASCII encodings to UTF8. * We should not be using ASCII anywhere except for legacy compatibility reasons. * A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT * This should fix Mantis#799 - Japanese Profile Text does not work. --- OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs') 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 if (count != 0) { // translate from bytes to ASCII text - tempString = Encoding.ASCII.GetString(buf, 0, count); + tempString = Encoding.UTF8.GetString(buf, 0, count); // continue building the string sb.Append(tempString); -- cgit v1.1