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
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
How does the print statement decode unicode strings itis passed ? (By
that I mean which encoding does it use).
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 whatever, but not ascii). This means