unable to print Unicode characters in Python 3

Michael Torrie torriem at gmail.com
Mon Jan 26 21:53:57 CET 2009

jefm wrote:
>> Hmm this works for me,
>> it's a self compiled version:
>> ~ $ python3
>> Python 3.0 (r30:67503, Dec 29 2008, 21:35:15)
>> [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
> You are running on Linux. Mine is on Windows.
> Anyone else have this issue on Windows ?

As Benjamin Kaplin said, Windows terminals use the old cp1252 character
set, which cannot display the euro sign. You'll either have to run it in
 something more modern like the cygwin rxvt terminal, or output some
other way, such as through a GUI.

More information about the Python-list mailing list