def bytes_decode(data):
    """
    Parse bytes as a UTF-8 string, ignoring unsupported characters

    :param data: raw data read from the disk
    :type data: bytes
    :rtype: string
    """
    return "'%s'" % data.decode("utf-8", errors="ignore")