error when printing a UTF-8 string (python 2.6.2)

Peter Otten __peter__ at web.de
Wed Apr 21 13:28:19 CEST 2010


fab at slick.airforce-one.org wrote:

> I have taken the easy way out, I read on a page that python 3 worked
> by default in UTF-8, so I downloaded and installed it.

Just a quick reminder: UTF-8 is not the same as unicode. Python3 works in 
unicode and by default uses UTF-8 to read from or write into files.

Peter



More information about the Python-list mailing list