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/Framework/Communications | |
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 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/LLSD.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/LLSD.cs b/OpenSim/Framework/Communications/Capabilities/LLSD.cs index 8e2a194..b3e841c 100644 --- a/OpenSim/Framework/Communications/Capabilities/LLSD.cs +++ b/OpenSim/Framework/Communications/Capabilities/LLSD.cs | |||
@@ -329,7 +329,7 @@ namespace OpenSim.Region.Capabilities | |||
329 | 329 | ||
330 | reader.Read(); | 330 | reader.Read(); |
331 | FromBase64Transform b64 = new FromBase64Transform(FromBase64TransformMode.IgnoreWhiteSpaces); | 331 | FromBase64Transform b64 = new FromBase64Transform(FromBase64TransformMode.IgnoreWhiteSpaces); |
332 | byte[] inp = Encoding.ASCII.GetBytes(reader.ReadString()); | 332 | byte[] inp = Encoding.UTF8.GetBytes(reader.ReadString()); |
333 | ret = b64.TransformFinalBlock(inp, 0, inp.Length); | 333 | ret = b64.TransformFinalBlock(inp, 0, inp.Length); |
334 | break; | 334 | break; |
335 | } | 335 | } |