sys.stdin.encoding

"Martin v. Löwis" martin at v.loewis.de
Mon Dec 11 13:54:15 EST 2006


Leo Kislov schrieb:
> Environmental variable TERMENCODING ? Heck, maybe this will catch on
> and will be used by other languages, libraries, terminals, etc. It's
> not really Python only problem.

I also considered environment variables. This can likely be made
available only in 2.6, though.

Plus, in the Eclipse case, we can't know for sure that stdout
really goes to the terminal - as it is just a pipe file descriptor
(Java is not capable of managing a full pseudo-terminal).

Regards,
Martin



More information about the Python-list mailing list