Skip to content

Commit 82ec05f

Browse files
authored
read config using utf-8
1 parent d7bc348 commit 82ec05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbval/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def setup_sanitize_files(self):
284284
load the contents of the file into the sanitise patterns dictionary.
285285
"""
286286
for fname in self.get_sanitize_files():
287-
with open(fname, 'r') as f:
287+
with open(fname, 'r', encoding="utf-8") as f:
288288
self.sanitize_patterns.update(get_sanitize_patterns(f.read()))
289289

290290

0 commit comments

Comments
 (0)