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

'utf-8' codec can't decode byte 0x9d in position 0: invalid start byte #7

Open
PeterEmad777 opened this issue Jul 3, 2021 · 0 comments

Comments

@PeterEmad777
Copy link

PeterEmad777 commented Jul 3, 2021

I'm trying to use the library as part of a backend project so i got the code files not the command line tool, the encoding goes just fine. but whenever I try to decode I get this error..
this is the line that causes the problem, in the read_message function

text = bytes(msg[start:end]).decode('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

No branches or pull requests

1 participant