Answers for "invalid byte sequence for encoding "utf8": 0xc9 0x56"

0

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa5 in position 10: invalid start byte

#use rb over r
with open(path, 'rb') as f:
  text = f.read()
Posted by: Guest on August-24-2020

Code answers related to "invalid byte sequence for encoding "utf8": 0xc9 0x56"

Python Answers by Framework

Browse Popular Code Answers by Language