diff --git a/ExtLibs/Utilities/BinaryLog.cs b/ExtLibs/Utilities/BinaryLog.cs index d3928ad26c..4e96254420 100644 --- a/ExtLibs/Utilities/BinaryLog.cs +++ b/ExtLibs/Utilities/BinaryLog.cs @@ -157,6 +157,8 @@ public string ReadMessage(Stream br, long length) { if (a.IsNumber()) return (((IConvertible)a).ToString(CultureInfo.InvariantCulture)); + else if (a is System.Byte[]) + return System.Text.Encoding.ASCII.GetString(a as byte[]).Trim('\0'); else return a?.ToString(); })) + "\r\n";