From fc2fa65f0dca24ff8af3b5de88e87cadeb0d81a7 Mon Sep 17 00:00:00 2001 From: saphid <4596216+saphid@users.noreply.github.com> Date: Sat, 26 Sep 2026 08:56:03 +1000 Subject: [PATCH] Run the server in UTF-8 mode on every platform Co-Authored-By: Claude Opus 5.5 (1M context) --- app/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index d9099b9..ada05d1 100644 --- a/app/main.js +++ b/app/main.js @@ -109,7 +109,7 @@ function ping(target) { async function startServer() { const env = { ...process.env, PATH: await loginPath(), PYTHONUNBUFFERED: "1", PYTHONDONTWRITEBYTECODE: "1", - PYTHONIOENCODING: "utf-8", FRAME_CONTROL_APP: "1" }; + PYTHONIOENCODING: "utf-8", PYTHONUTF8: "1", FRAME_CONTROL_APP: "1" }; // UTF-8 even on Windows python = await findPython(env); if (!python) throw new Error(`Frame Control needs Python 3.8 or later. ${PYTHON_HELP}`); if (!await hasSsh(env)) throw new Error(`Frame Control needs the ssh command. ${SSH_HELP}`);