diff options
author | Adam Frisby | 2008-03-21 02:26:00 +0000 |
---|---|---|
committer | Adam Frisby | 2008-03-21 02:26:00 +0000 |
commit | 7286bd60b07e809f33215256cc71b39c15437c65 (patch) | |
tree | a3d55e49cfcbc9a756e0816ac5ea8b9d97f26082 /OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | |
parent | * Fix for #499: linked primsets don't rotate properly when using a door scrip... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ScriptsHttpRequests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |