`sys.stdout.encoding` gives this error. Also `sys.stdin.encoding` gives `'UTF8'`, while python gives `'UTF-8'` for both cases. [This](../pull/603) commit makes bpython work (naturally stdin is still different than in standard python): ``` python bpython version 0.15 on top of Python 3.5.2 /usr/bin/python >>> import sys >>> sys.stdin.encoding 'UTF8' >>> sys.stdout.encoding 'UTF-8' ```