aboutcode-org / aboutcode-org/cwe2

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

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.