diff --git a/src/resources/jupyter/jupyter.py b/src/resources/jupyter/jupyter.py index a865e2082ba..b28cf387f64 100644 --- a/src/resources/jupyter/jupyter.py +++ b/src/resources/jupyter/jupyter.py @@ -255,6 +255,7 @@ def status(msg): del os.environ["QUARTO_JUPYTER_OPTIONS"] # otherwise read from stdin else: + sys.stdin.reconfigure(encoding='utf-8') input = json.load(sys.stdin) command = input["command"] options = input["options"]