diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index b639d36..4d20f7b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1822,8 +1822,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1822 | if (a == null) | 1822 | if (a == null) |
1823 | return UUID.Zero; | 1823 | return UUID.Zero; |
1824 | 1824 | ||
1825 | System.Text.UTF8Encoding enc = new System.Text.UTF8Encoding(); | 1825 | string data = Encoding.UTF8.GetString(a.Data); |
1826 | string data = enc.GetString(a.Data); | ||
1827 | NotecardCache.Cache(assetID, data); | 1826 | NotecardCache.Cache(assetID, data); |
1828 | }; | 1827 | }; |
1829 | 1828 | ||