How to solve UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte in python
There is a Python library which may help when the encoding is unknown: chardet detect finds the encoding, and ‘rb’ will read the file in as binary