Skip to content

Commit 81c7d08

Browse files
committed
fix: encoding problem on windows
1 parent bd3f811 commit 81c7d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wikmd/wiki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def get_html(file_page):
199199

200200
return cached_entry, mod
201201

202-
with open(md_file_path, 'r') as file:
202+
with open(md_file_path, 'r', encoding="utf-8") as file:
203203
md_file_content = file.read()
204204

205205
for plugin in plugins:

0 commit comments

Comments
 (0)