UnicodeDecodeError: 'utf-8' codec can't decode byte 0x98 in position 6615: invalid start byte
UnicodeDecodeError: 'shift_jis' codec can't decode byte 0xff in position 4729: illegal multibyte sequence
python
f = open(filename, encoding='CP932')
| encode |
|---|
| UTF-8 |
| Shift_JIS |
| EUC-JIS |
| ISO-2022-JP |
| CP932 |
If you specify CP932, it may work (important)
Recommended Posts