1# Use 'ISO-8859-1' instead of "utf-8" for decoding
2text = open(fn, 'rb').read().decode('ISO-8859-1')
1# try this if you get the error utf-8 codec can't decode byte
2# Assuming your file is pipe delimited otherwise remove sep='|'
3pd.read_csv(r'C:\path\to\file.csv', sep='|', encoding = "ISO-8859-1")