Answers for "'utf-8' codec can't decode byte 0xb0"

0

utf-8 codec can't decode byte python

# try this if you get the error utf-8 codec can't decode byte
# Assuming your file is pipe delimited otherwise remove sep='|'
pd.read_csv(r'C:pathtofile.csv', sep='|', encoding = "ISO-8859-1")
Posted by: Guest on August-12-2021
3

'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

with open(file, newline='', encoding="utf16") as MyFile:
Posted by: Guest on November-13-2019

Code answers related to "'utf-8' codec can't decode byte 0xb0"

Python Answers by Framework

Browse Popular Code Answers by Language