diff --git a/bpython/curtsiesfrontend/coderunner.py b/bpython/curtsiesfrontend/coderunner.py index 21fdbc18a..bb30f3f30 100644 --- a/bpython/curtsiesfrontend/coderunner.py +++ b/bpython/curtsiesfrontend/coderunner.py @@ -218,3 +218,8 @@ def flush(self): def isatty(self): return True + + @property + def encoding(self): + return 'UTF-8' +