Re: UnicodeDecodeError quick question

2008-12-04 Thread Tim Golden
[EMAIL PROTECTED] wrote: Hi Everyone, I am using Python 2.4 and I am converting an excel spreadsheet to a pipe delimited text file and some of the cells contain utf-8 characters. I solved this problem in a very unintuitive way and I wanted to ask why. If I do, csvfile.write(cell.encode("utf-8

UnicodeDecodeError quick question

2008-12-04 Thread patrick . waldo
Hi Everyone, I am using Python 2.4 and I am converting an excel spreadsheet to a pipe delimited text file and some of the cells contain utf-8 characters. I solved this problem in a very unintuitive way and I wanted to ask why. If I do, csvfile.write(cell.encode("utf-8")) I get a UnicodeDecodeE