On Mar 8, 2012, at 1:46 PM, Terray, James wrote:
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 9: ordinal not in range(128)
I just ran into this the other day when trying to write to a file. I searched the documentation and found this:
fp = codecs.open("dc.csv", mode="w", encoding="utf-8")
This opens a file that is utf-8 aware and it let me write the file. Doesn't answer your question about the encoding but it will let you save the record.
Western Connecticut State University