[Python-3000] Console encoding detection broken

Georg Brandl g.brandl at gmx.net
Fri Aug 10 07:10:00 CEST 2007


Well, subject says it all. While 2.5 sets sys.std*.encoding correctly to
UTF-8, 3k sets it to 'latin-1', breaking output of Unicode strings.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-3000 mailing list