Skip to content

Commit

Permalink
[Fix] Fix UnicodeDecodeError in md2yml.py (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
MengzhangLI authored May 11, 2022
1 parent 090c91b commit 740b545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev/md2yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def parse_md(md_file):
# should be set with head or neck of this config file.
is_backbone = None

with open(md_file, 'r') as md:
with open(md_file, 'r', encoding='UTF-8') as md:
lines = md.readlines()
i = 0
current_dataset = ''
Expand Down

0 comments on commit 740b545

Please sign in to comment.