mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Merge branch 'diva-textures-osgrid'
This commit is contained in:
@@ -7077,7 +7077,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
try
|
||||
{
|
||||
byte[] encData_byte = new byte[str.Length];
|
||||
encData_byte = Encoding.UTF8.GetBytes(str);
|
||||
encData_byte = Util.UTF8.GetBytes(str);
|
||||
string encodedData = Convert.ToBase64String(encData_byte);
|
||||
return encodedData;
|
||||
}
|
||||
|
||||
@@ -1491,7 +1491,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
notecardData = "Linden text version 2\n{\nLLEmbeddedItems version 1\n{\ncount 0\n}\nText length "
|
||||
+ textLength.ToString() + "\n" + notecardData + "}\n";
|
||||
|
||||
asset.Data = Encoding.UTF8.GetBytes(notecardData);
|
||||
asset.Data = Util.UTF8.GetBytes(notecardData);
|
||||
World.AssetService.Store(asset);
|
||||
|
||||
// Create Task Entry
|
||||
|
||||
Reference in New Issue
Block a user