semantic-code-search icon indicating copy to clipboard operation
semantic-code-search copied to clipboard

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

Open timchenggu123 opened this issue 1 year ago • 0 comments

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.

timchenggu123 avatar Sep 23 '24 18:09 timchenggu123