aboutcode-org / aboutcode-org/cwe2

UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 4771: illegal multibyte sequence

未關閉
#3 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
15
分支
3
PR 合併指標
30 天內沒有已合併 PR

描述

On my Windows10, the default decode mode is **gbk**.
In this file `cwe2\database\699.csv` line 418 col 3402, **gbk** can't decode the `0xE2 0x80 0x9C`.

Suggestion:
When open *.csv files, should explicitly use `encoding='utf-8'`.

Thank you very much for your project!

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。