This commit is contained in:
Miroslav Stampar
2018-01-15 13:43:50 +01:00
parent a59198d1e4
commit e5ab678db0
3 changed files with 4 additions and 4 deletions

View File

@@ -4186,7 +4186,7 @@ def decodeHexValue(value, raw=False):
except UnicodeDecodeError:
pass
if not isinstance(retVal, unicode):
retVal = getUnicode(retVal, "utf8")
retVal = getUnicode(retVal, conf.encoding or "utf8")
return retVal