diff --git a/lib/core/common.py b/lib/core/common.py index afaa1c90c..9c768a183 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3185,7 +3185,7 @@ def decodeHexValue(value): pass if not isinstance(value, unicode): - value = value.decode("utf8", "replace") + value = getUnicode(value, "utf8") return value