We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4852585 commit ddb0ab3Copy full SHA for ddb0ab3
imdb.py
@@ -54,7 +54,7 @@ def _read_text_file(path):
54
It is returned as a single string where all lines are concatenated.
55
"""
56
57
- with open(path, 'rt') as file:
+ with open(path, 'rt', encoding='utf-8') as file:
58
# Read a list of strings.
59
lines = file.readlines()
60
0 commit comments