def display_decode_error_lines(filename):
    errors = []
    with open(filename, 'r', errors='replace') as f:
        lines = f.readlines()
    for (index, line) in enumerate(lines, start=1):
        if ('�' in line):
            errors.append((index, line))
    return errors
def display_decode_error_lines(filename):
    errors = []
    with open(filename, 'r', errors='replace') as f:
        lines = f.readlines()
    for (index, line) in enumerate(lines, start=1):
        if ('�' in line):
            errors.append((index, line))
    return errors