I have these lines of code:
zf = zipfile.ZipFile(self.temp_file, 'r')
data = zf.open('myfile.csv', mode='r')
result = [link for link in unicodecsv.DictReader(data)]
And here's the exception code:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc9 in position 13: invalid continuation byte
Input string is:
CAFÉ RESTAURANT
So what am I doing wrong and why unicodecsv can't handle utf-8?