Convert code from sys.stdin.encoding to UTF-8 in
interactive mode. Fixes #1100.
7 files changed