Skip to content

fixed coding#2

Open
fy975713384 wants to merge 1 commit into
jstaffans:masterfrom
fy975713384:fix_coding
Open

fixed coding#2
fy975713384 wants to merge 1 commit into
jstaffans:masterfrom
fy975713384:fix_coding

Conversation

@fy975713384

Copy link
Copy Markdown

When I use this library on a Windows system, I got an error:

UnicodeDecodeError: 'gbk' codec can't decode byte 0xa5 in position 870: illegal multibyte sequence

This is because my json file contains Chinese characters. So, i added encoding='UTF-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant