Re: unicode in exception traceback

2008-04-03 Thread WaterWalk
On Apr 3, 5:56 pm, Peter Otten <[EMAIL PROTECTED]> wrote: > WaterWalk wrote: > > Hello. I just found on Windows when an exception is raised and > > traceback info is printed on STDERR, all the characters printed are > > just plain ASCII. Take the unicode character u'\u4e00' for example. If > > I wr

Re: unicode in exception traceback

2008-04-03 Thread Peter Otten
WaterWalk wrote: > Hello. I just found on Windows when an exception is raised and > traceback info is printed on STDERR, all the characters printed are > just plain ASCII. Take the unicode character u'\u4e00' for example. If > I write: > > print u'\u4e00' > > If the system locale is "PRC China",

unicode in exception traceback

2008-04-03 Thread WaterWalk
Hello. I just found on Windows when an exception is raised and traceback info is printed on STDERR, all the characters printed are just plain ASCII. Take the unicode character u'\u4e00' for example. If I write: print u'\u4e00' If the system locale is "PRC China", then this statement will print th