mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-07 14:48:11 +03:00
fix(terminal): env en_US.UTF-8
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1198,8 +1198,8 @@ impl TerminalServiceProxy {
|
|||||||
|
|
||||||
if should_force_process_utf8_ctype() {
|
if should_force_process_utf8_ctype() {
|
||||||
cmd.env_remove("LC_ALL");
|
cmd.env_remove("LC_ALL");
|
||||||
cmd.env("LC_CTYPE", "UTF-8");
|
cmd.env("LC_CTYPE", "en_US.UTF-8");
|
||||||
log::debug!("Set LC_CTYPE=UTF-8 for macOS PTY");
|
log::debug!("Set LC_CTYPE=en_US.UTF-8 for macOS PTY");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user