Skip to content

Commit cbc512d

Browse files
authored
[FIX] Issue jupyter-book#137 Errors when running on Windows (jupyter-book#187)
[FIX] Issue jupyter-book#137 Errors when running on Windows
2 parents c7343ca + 6391595 commit cbc512d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_book/build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def build_book(path_book, path_toc_yaml=None, config_file=None,
271271
# Modify the generated Markdown to work with Jekyll
272272

273273
# Clean markdown for Jekyll quirks (e.g. extra escape characters)
274-
with open(path_new_file, 'r') as ff:
274+
with open(path_new_file, 'r', encoding='utf8') as ff:
275275
lines = ff.readlines()
276276
lines = _clean_lines(lines, path_new_file,
277277
path_book, PATH_IMAGES_FOLDER)

0 commit comments

Comments
 (0)