Index: utils/lit/lit/TestRunner.py =================================================================== --- utils/lit/lit/TestRunner.py +++ utils/lit/lit/TestRunner.py @@ -2,6 +2,7 @@ import difflib import errno import functools +import io import itertools import getopt import os, signal, subprocess, sys @@ -387,7 +388,7 @@ def compareTwoFiles(filepaths): filelines = [] for file in filepaths: - with open(file, 'r') as f: + with open(file, 'r', encoding="Latin-1") as f: filelines.append(f.readlines()) exitCode = 0