fix: set LANG env for PTY to support UTF-8/Unicode in terminal (#1129)

This commit is contained in:
Wenqiang.Xu
2026-05-07 23:03:09 +03:00
committed by GitHub
parent e892346c6b
commit cb8ea5e6c5
@@ -139,6 +139,7 @@ export function createTerminalRuntime({
...env,
TERM: 'xterm-256color',
COLORTERM: 'truecolor',
LANG: env.LANG || process.env.LANG || 'C.UTF-8',
},
};