How to print this character u'\u20ac' to DOS terminal

Tijs tijs_news at artsoftonline.com
Wed May 30 11:11:40 EDT 2007


人言落日是天涯,望极天涯不见家 wrote:


> Yes, it works, thank you.
> But I doubt this way may not work on linux.  Maybe I should write some
> additional code for supporting both windows and linux OS.

Depends on what you want to do. Printing to a DOS terminal is hard in
Linux :-) If you write server code, best to keep all text in unicode. 

-- 

Regards,
Tijs



More information about the Python-list mailing list