Avoid crash on import

See issue #470
This commit is contained in:
Curtis Gedak 2019-02-05 11:29:20 -07:00
parent f731e19e00
commit 1cc7146aad

View file

@ -63,7 +63,7 @@ class markdownImporter(abstractImporter):
if not fromString:
# Read file
with open(filePath, "r") as f:
with open(filePath, "r", encoding="utf-8") as f:
txt = f.read()
else:
txt = fromString