diff --git a/lib/core/common.py b/lib/core/common.py index d6e2fd9ad..e22c656a3 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2500,13 +2500,7 @@ def decodeIntToUnicode(value): if isinstance(value, int): try: - # http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_ord - if Backend.getIdentifiedDbms() in (DBMS.MYSQL,): - retVal = getUnicode(struct.pack('B' if value < 256 else ' 255: - retVal = unichr(value) - else: - retVal = getUnicode(chr(value)) + retVal = unichr(value) except: retVal = INFERENCE_UNKNOWN_CHAR