-
Notifications
You must be signed in to change notification settings - Fork 15
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
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef #55
Comments
I tried the library and got the same issue. |
This can be corrected by modifying the 'sp.py file in the plugin folder. In the code it defines the encoding as UTF8. To correct you can either create a copy of the functions and switch the encoding or i just modified the original file and wrapped the function in a 'try' with the 'except' having a copy of the code but with 'ANSI' encoding. |
Same issue, solved it by editing the plugins\sp.py file and replacing the two occurrences of "utf-8" by "latin1". |
Hello,
Thank you very much for this python library. It is very useful.
However sometimes, depending of the .sp file, I get an unicode decode error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 36: invalid continuation byte
Do you have any idea how to solve this problem ?
The encoding of my sp file seems to be ANSI.
I have tried to convert it into UTF-8, but it didn't solve the problem.
Thanks in advance.
Originally posted by @ccholet in #53 (comment)
The text was updated successfully, but these errors were encountered: