Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4595b2c

Browse files
committed
decodeHexValue
1 parent 5b6c01d commit 4595b2c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/core/common.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3448,7 +3448,11 @@ def _(value):
34483448
retVal = retVal.decode("utf-16-le")
34493449
except UnicodeDecodeError:
34503450
pass
3451-
3451+
elif Backend.isDbms(DBMS.HSQL):
3452+
try:
3453+
retVal = retVal.decode("utf-16-be")
3454+
except UnicodeDecodeError:
3455+
pass
34523456
if not isinstance(retVal, unicode):
34533457
retVal = getUnicode(retVal, "utf8")
34543458

0 commit comments

Comments
 (0)