Merge pull request #475 from Meatballs1/hsql_clean

HSQL Payloads and Query Support
This commit is contained in:
Miroslav Stampar
2013-07-01 02:38:04 -07:00
17 changed files with 764 additions and 10 deletions

View File

@@ -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")