aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Configuration
diff options
context:
space:
mode:
authorAdam Frisby2008-03-21 02:26:00 +0000
committerAdam Frisby2008-03-21 02:26:00 +0000
commit7286bd60b07e809f33215256cc71b39c15437c65 (patch)
treea3d55e49cfcbc9a756e0816ac5ea8b9d97f26082 /OpenSim/Framework/Configuration
parent* Fix for #499: linked primsets don't rotate properly when using a door scrip... (diff)
downloadopensim-SC_OLD-7286bd60b07e809f33215256cc71b39c15437c65.zip
opensim-SC_OLD-7286bd60b07e809f33215256cc71b39c15437c65.tar.gz
opensim-SC_OLD-7286bd60b07e809f33215256cc71b39c15437c65.tar.bz2
opensim-SC_OLD-7286bd60b07e809f33215256cc71b39c15437c65.tar.xz
* 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.
Diffstat (limited to 'OpenSim/Framework/Configuration')
-rw-r--r--OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs
index fa8d8fe..1fb4866 100644
--- a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs
+++ b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs
@@ -74,7 +74,7 @@ namespace OpenSim.Framework.Configuration.HTTP
74 count = resStream.Read(buf, 0, buf.Length); 74 count = resStream.Read(buf, 0, buf.Length);
75 if (count != 0) 75 if (count != 0)
76 { 76 {
77 tempString = Encoding.ASCII.GetString(buf, 0, count); 77 tempString = Encoding.UTF8.GetString(buf, 0, count);
78 sb.Append(tempString); 78 sb.Append(tempString);
79 } 79 }
80 } while (count > 0); 80 } while (count > 0);