On Sun, Jan 26, 2014 at 4:56 AM, Peter Pearson <ppearson@nowhere.invalid> wrote: > $ python2.7 -c "import sys; print(sys.stdin.encoding)" > UTF-8
This isn't from stdin, though, it's about the interpretation of the bytes of source code without a magic cookie. According to PEP 263 [1], the default encoding should have become "ascii" as of Python 2.5. That's what puzzles me. ChrisA [1] http://www.python.org/dev/peps/pep-0263/ -- https://mail.python.org/mailman/listinfo/python-list