Skip to content

fix: UnicodeDecodeError: 'gbk' codec can't decode bytes - #2

Open
webbrain-one wants to merge 1 commit into
az0ne:masterfrom
webbrain-one:webbrain/issue-1
Open

fix: UnicodeDecodeError: 'gbk' codec can't decode bytes#2
webbrain-one wants to merge 1 commit into
az0ne:masterfrom
webbrain-one:webbrain/issue-1

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #1

Handle invalid multibyte sequences by adding an error handler to the decode call, preventing crashes on non-GBK compatible bytes.
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.

UnicodeDecodeError: 'gbk' codec can't decode bytes

1 participant