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

UnicodeDecodeError running in Windows #10

Closed
jocolamarco opened this issue Jun 2, 2021 · 3 comments
Closed

UnicodeDecodeError running in Windows #10

jocolamarco opened this issue Jun 2, 2021 · 3 comments

Comments

@jocolamarco
Copy link

jocolamarco commented Jun 2, 2021

Get the following error when running the tool in Windows:

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1162: character maps to <undefined>

EDIT: I was able to workaround this by activating a beta feature in Windows10

@nathan-sain
Copy link
Owner

@jocolamarco I'm interested to know what feature you enabled in order to get around this error.

Unfortunately, It seems the 0x9d character doesn't have a corresponding entry in the utf-8 character map. I'm curious what format the the file on your system is? If there are other reports of errors related to charmaps I may use the chardet module to attempt to determine the encoding of files before reading from them.

@jocolamarco
Copy link
Author

jocolamarco commented Jun 6, 2021 via email

@nathan-sain
Copy link
Owner

Thanks for the information and your solution. I'm going to close this issue. I'll reopen it if character encoding on Windows continues to be a general problem.

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

2 participants