Skip to content

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

@Ryuk17

Description

@Ryuk17

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions