求助:提取mdx词条转换为HTML/PDF

多谢!
我加上了css之后,虽然还是报错,但至少生成了一个temp. html,里边就是提取出来的词条meanings
ling.css (198 字节)

现在测试了另一个文件,出现了另一种错误:
F:\Programs\Mdx\Converter
λ MdxConverter.exe 1.mdx 2.txt 2.html
Traceback (most recent call last):
File “MdxConverter.py”, line 258, in
File “MdxConverter.py”, line 150, in mdx2html
File “MdxConverter.py”, line 43, in get_words
File “MdxConverter.py”, line 52, in get_words_from_txt
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xbf in position 2: illegal multibyte sequence
[54672] Failed to execute script MdxConverter

1.mdx (1.5 MB)
请教怎么解决这个gbk解码的问题呢?