i3-py
i3-py copied to clipboard
If payload contains wrong utf-8, fallback to latin-1 encoding
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.