Encodings and printing unicode

Fuzzyman fuzzyman at gmail.com
Mon Mar 14 09:18:13 EST 2005


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/python/index.shtml




More information about the Python-list mailing list