Skip to content

Commit a239a4b

Browse files
committed
Fix 'character maps to <undefined>' issue.
1 parent ebf6ea8 commit a239a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lazydocs/generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def to_md_file(
227227
)
228228

229229
print("Writing {}.".format(md_file))
230-
with open(os.path.join(out_path, md_file), "w") as f:
230+
with open(os.path.join(out_path, md_file), "w", encoding="utf-8") as f:
231231
f.write(markdown_str)
232232

233233

0 commit comments

Comments
 (0)