UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8c: Invalid Start Byte - Python Error Solution
This error occurs when attempting to decode a byte string using the UTF-8 codec, but the byte string contains a character that isn't valid in UTF-8 encoding. The byte 0x8c is an invalid starting byte for UTF-8 encoded characters.
To resolve this, you should verify the encoding of your byte string. If it's not UTF-8, use the appropriate codec for decoding. If it is UTF-8, you may need to replace or remove the invalid character before decoding.
原文地址: https://www.cveoy.top/t/topic/nHMv 著作权归作者所有。请勿转载和采集!