def METHOD_NAME(value):
    """Get unicode value
    :param value: value to be recoded
    :return: unicode value
    """
    if isinstance(value, str):
        return value
    if isinstance(value, bytes):
        enc = GetDbEncoding()
        return str(value, enc, errors="replace")
    else:
        return str(value)