UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 377826: invalid start byte UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 377826: invalid start byte windows windows

UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 377826: invalid start byte


Use encoding='cp1252' will solve the issue.


0x92 is a smart quote(’) of Windows-1252. It simply doesn't exist in unicode, therefore it can't be decoded.

Maybe your file was edited by a Windows machine which basically caused this problem?