"Robert Dailey" <rcdai...@gmail.com> wrote in message news:f64f9830-c416-41b1-a510-c1e486271...@g19g2000vbi.googlegroups.com...
> As you can see, I am trying to load the file with encoding 'cp1252' > which, according to the python 3.1 docs, translates to windows-1252. I > also tried 'latin_1', which translates to ISO-8859-1, but this did not > work either. Am I doing something else wrong? Probably it's just the debugging print that has a problem, and if you opened an output file with an encoding specified it would be fine. When you get a UnicodeEncodingError, it's conversion _from_ Unicode that has failed. -- http://mail.python.org/mailman/listinfo/python-list