From 4595b2c2871f699c311793e13b783ed174b21a5c Mon Sep 17 00:00:00 2001 From: Meatballs Date: Mon, 24 Jun 2013 23:45:39 +0100 Subject: [PATCH] decodeHexValue --- lib/core/common.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index ae24980b4..6ef578fb5 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3448,7 +3448,11 @@ def decodeHexValue(value): retVal = retVal.decode("utf-16-le") except UnicodeDecodeError: pass - + elif Backend.isDbms(DBMS.HSQL): + try: + retVal = retVal.decode("utf-16-be") + except UnicodeDecodeError: + pass if not isinstance(retVal, unicode): retVal = getUnicode(retVal, "utf8")