diff options
Diffstat (limited to 'tests/unicode/file1.py')
-rw-r--r-- | tests/unicode/file1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unicode/file1.py b/tests/unicode/file1.py index 554e886743..08b7d25041 100644 --- a/tests/unicode/file1.py +++ b/tests/unicode/file1.py @@ -1,4 +1,4 @@ -f = open("unicode/data/utf-8_1.txt") +f = open("unicode/data/utf-8_1.txt", encoding="utf-8") l = f.readline() print(l) print(len(l)) |