ERROR: character with byte sequence 0xcc 0x81 in encoding "UTF8" has no equivalent in encoding "WIN1252" code example
Example 1: 'utf-8' codec can't decode byte 0x85 in position 715: invalid start byte
import pandas as pd
data = pd.read_csv(filename, encoding= 'unicode_escape')
Example 2: ERROR: character with byte sequence 0xd0 0x9f in encoding "UTF8" has no equivalent in encoding "LATIN1"
SET client_encoding = 'UTF8';