Re: Encodings and printing unicode

2005-03-14 Thread Fuzzyman
Kent Johnson wrote: > Fuzzyman wrote: > > How does the print statement decode unicode strings itis passed ? (By > > that I mean which encoding does it use). > > sys.stdout.encoding > [snip..] Aha... that's the missing piece of information. Thank you. Regards, Fuzzy http://www.voidspace.org.uk/p

Re: Encodings and printing unicode

2005-03-14 Thread Kent Johnson
Fuzzyman wrote: How does the print statement decode unicode strings itis passed ? (By that I mean which encoding does it use). sys.stdout.encoding Under windows it doesn't appear to use defaultencoding. On my system the default encoding is ascii, yet the terminal encoding is latin1 (or cp1252 or wh