protected string Decode(IEncodableDataType dt, string value)
{
byte[] data = DecodeData(dt, value);
if (data != null)
{
// Default to the current encoding
IEncodingStack encodingStack = GetService<IEncodingStack>();
return encodingStack.Current.GetString(data);
}
return null;
}