Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shdwp
Copy link

@shdwp shdwp commented May 19, 2014

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