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

[Patch] Fix unsupported unicode character "0x92" bug. #31

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

Conversation

timchenggu123
Copy link

Some files created on windows might contain "0x92" which is not ASCII and cannot be parsed with utf8. The solution is to use 'cp1252' encoding (https://stackoverflow.com/questions/46000191/utf-8-codec-cant-decode-byte-0x92-in-position-18-invalid-start-byte)

To reproduce this issue, try running the tool for https://github.com/ROCm/clr repo as an example.

Some files created on windows might contain "0x92" which is not ASCII and cannot be parsed with utf8. The solution is to use 'cp1252' encoding (https://stackoverflow.com/questions/46000191/utf-8-codec-cant-decode-byte-0x92-in-position-18-invalid-start-byte)
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