aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
authordr scofield (aka dirk husemann)2009-09-08 17:53:28 +0200
committerdr scofield (aka dirk husemann)2009-09-09 09:56:07 +0200
commitd8a787bd89eb05d417a5abc37ffebe8ed73db6c5 (patch)
tree365d4259efb0eb43c3f2d278facb7791a3a243e5 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
parentThank you, mcortez, for a patch to fix errors in FlotsamCache and expand (diff)
downloadopensim-SC-d8a787bd89eb05d417a5abc37ffebe8ed73db6c5.zip
opensim-SC-d8a787bd89eb05d417a5abc37ffebe8ed73db6c5.tar.gz
opensim-SC-d8a787bd89eb05d417a5abc37ffebe8ed73db6c5.tar.bz2
opensim-SC-d8a787bd89eb05d417a5abc37ffebe8ed73db6c5.tar.xz
fix: unicode notecards not surviving script treatment (fixes #4119 ---
perhaps).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index f261c16..017a6f6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -9477,8 +9477,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
9477 return; 9477 return;
9478 } 9478 }
9479 9479
9480 System.Text.ASCIIEncoding enc = 9480 System.Text.UTF8Encoding enc =
9481 new System.Text.ASCIIEncoding(); 9481 new System.Text.UTF8Encoding();
9482 string data = enc.GetString(a.Data); 9482 string data = enc.GetString(a.Data);
9483 //m_log.Debug(data); 9483 //m_log.Debug(data);
9484 NotecardCache.Cache(id, data); 9484 NotecardCache.Cache(id, data);
@@ -9539,8 +9539,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
9539 return; 9539 return;
9540 } 9540 }
9541 9541
9542 System.Text.ASCIIEncoding enc = 9542 System.Text.UTF8Encoding enc =
9543 new System.Text.ASCIIEncoding(); 9543 new System.Text.UTF8Encoding();
9544 string data = enc.GetString(a.Data); 9544 string data = enc.GetString(a.Data);
9545 //m_log.Debug(data); 9545 //m_log.Debug(data);
9546 NotecardCache.Cache(id, data); 9546 NotecardCache.Cache(id, data);