print() and unicode strings (python 3.1)

Anonymous cripto at ecn.org
Wed Aug 26 22:56:16 CEST 2009


Have you considered including an encoding line at the top of your file, as described in PEP 0263:
http://www.python.org/dev/peps/pep-0263/

I just ran into a similar error, but it went away when I included 
# coding: utf-8
as the first line in my file. 




More information about the Python-list mailing list