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.
2 parents 1ad2747 + 6074cd5 commit a9651c8Copy full SHA for a9651c8
nbval/plugin.py
@@ -277,7 +277,7 @@ def setup_sanitize_files(self):
277
load the contents of the file into the sanitise patterns dictionary.
278
"""
279
for fname in self.get_sanitize_files():
280
- with open(fname, 'r') as f:
+ with open(fname, 'r', encoding="utf-8") as f:
281
self.sanitize_patterns.update(get_sanitize_patterns(f.read()))
282
283
0 commit comments