From a239a4b50e85fccc4359138f3b7dc3dad61f9b25 Mon Sep 17 00:00:00 2001 From: Aleksandar Kocic Date: Sun, 25 Jul 2021 21:03:24 +0200 Subject: [PATCH] Fix 'character maps to ' issue. --- src/lazydocs/generation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lazydocs/generation.py b/src/lazydocs/generation.py index 4a15b12..98f25ff 100755 --- a/src/lazydocs/generation.py +++ b/src/lazydocs/generation.py @@ -227,7 +227,7 @@ def to_md_file( ) print("Writing {}.".format(md_file)) - with open(os.path.join(out_path, md_file), "w") as f: + with open(os.path.join(out_path, md_file), "w", encoding="utf-8") as f: f.write(markdown_str)