Skip to content

If payload contains wrong utf-8, fallback to latin-1 encoding#14

Open
shdwp wants to merge 1 commit into
ziberna:masterfrom
shdwp:master
Open

If payload contains wrong utf-8, fallback to latin-1 encoding#14
shdwp wants to merge 1 commit into
ziberna:masterfrom
shdwp:master

Conversation

@shdwp

@shdwp shdwp commented May 19, 2014

Copy link
Copy Markdown

If there is wrong utf-8 in payload (for example - I have it sometimes in window titles) library raises exception UnicodeDecodeError. Commit handles the exception and decode string in old latin-1 way, so even wrong utf shows in a wierd way, but, at least, programs based on library works.

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