utf8 can't decode byte python code example
Example: UnicodeDecodeError: 'utf-8' codec can't decode byte invalid start byte
# Use 'ISO-8859-1' instead of "utf-8" for decoding
text = open(fn, 'rb').read().decode('ISO-8859-1')
# Use 'ISO-8859-1' instead of "utf-8" for decoding
text = open(fn, 'rb').read().decode('ISO-8859-1')