(value)
return retVal
Decodes inferenced integer value to an unicode character

    >>> decodeIntToUnicode(35)
    u'#'
    >>> decodeIntToUnicode(64)
    u'@'
Decodes inferenced integer value to an unicode character
Decodes inferenced integer value to an unicode character
def decodeIntToUnicode(value):
    """
    Decodes inferenced integer value to an unicode character

    >>> decodeIntToUnicode(35)
    u'#'
    >>> decodeIntToUnicode(64)
    u'@'
    """
    retVal = value

    if isinstance(value, int):
        try:
            if value > 255:
                _ = "%x" % value
                if len(_) % 2 == 1:
                    _ = "0%s" % _
                retVal = getUnicode(hexdecode(_), encoding="UTF-16" if Backend.isDbms(DBMS.MSSQL) else None)
            else:
                retVal = getUnicode(chr(value))
        except:
            retVal = INFERENCE_UNKNOWN_CHAR

    return retVal
def decodeIntToUnicode ( value ) : retVal = value if isinstance ( value , int ) : try : if value > 255 : _ = "%x" % value if len ( _ ) % 2 == 1 : _ = "0%s" % _ retVal = getUnicode ( hexdecode ( _ ) , encoding = "UTF-16" if Backend . isDbms ( DBMS . MSSQL ) else None ) else : retVal = getUnicode ( chr ( value ) ) except : retVal = INFERENCE_UNKNOWN_CHAR return retVal