Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UnicodeDecodeError: 'gbk' codec can't decode byte 0x87 in position 2: illegal multibyte sequence #10

Open
Ryuk17 opened this issue Jan 5, 2021 · 0 comments

Comments

@Ryuk17
Copy link

Ryuk17 commented Jan 5, 2021

打开拼音数据库时候报错误

File "D:\software\python\lib\site-packages\ChineseTone\chinesetone.py", line 68, in getPinyinResource
    for line in open(os.path.join(CURRENT_DIR, 'data', 'pinyin.db')):
UnicodeDecodeError: 'gbk' codec can't decode byte 0x87 in position 2: illegal multibyte sequence
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant