Brett Cannon <br...@python.org> added the comment:

OK, so if on windows or isatty + nl_langinfo + CODESET, check fd 0 for a 
returned string that codecs.lookup and find something for. fd 42 (if not a tty) 
should return None.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to