* Giampaolo Rodola' (Tue, 27 Jan 2009 04:52:16 -0800 (PST)) > I have this same issue on Windows. > Note that on Python 2.6 it works: > > Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit > (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> print unicode('\u20ac') > \u20ac > > This is pretty serious, IMHO, since breaks any Windows software > priting unicode to stdout. > I've filed an issue on the Python bug tracker: > http://bugs.python.org/issue5081
For printing to stdout you have to give an encoding that the terminal understands and that contains the character. In your case the terminal says "I speak cp 850" but of course there is no Euro sign in there. Why should that be a bug? Thorsten -- http://mail.python.org/mailman/listinfo/python-list