diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py index 58843348bb6..9e85e0a9156 100644 --- a/Lib/test/test_normalization.py +++ b/Lib/test/test_normalization.py @@ -9,7 +9,7 @@ TESTDATAFILE = "NormalizationTest.txt" TESTDATAURL = "http://www.unicode.org/Public/" + unidata_version + "/ucd/" + TESTDATAFILE if os.path.exists(TESTDATAFILE): - f = open(TESTDATAFILE) + f = open(TESTDATAFILE, encoding='utf-8') l = f.readline() f.close() if not unidata_version in l: