diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
index e0ddc966ce..b3fb7c37af 100644
--- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
+++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
@@ -40,8 +40,6 @@ namespace OpenSim.Framework.Serialization.External
/// XXX: Please do not use yet.
public class UserInventoryItemSerializer
{
- protected static ASCIIEncoding m_asciiEncoding = new ASCIIEncoding();
-
///
/// Deserialize item
///
@@ -50,7 +48,7 @@ namespace OpenSim.Framework.Serialization.External
///
public static InventoryItemBase Deserialize(byte[] serialization)
{
- return Deserialize(m_asciiEncoding.GetString(serialization, 0, serialization.Length));
+ return Deserialize(Encoding.ASCII.GetString(serialization, 0, serialization.Length));
}
///