Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix gtk-sudo in non-English linux (#9680)

21pagesdefb3e6c73c4
diff --git a/src/platform/gtk_sudo.rs b/src/platform/gtk_sudo.rs
index 0105b335c..9aeea1e2b 100644
--- a/src/platform/gtk_sudo.rs
+++ b/src/platform/gtk_sudo.rs
@@ -505,7 +505,7 @@ fn child(su_user: Option<String>, args: Vec<String>) -> ResultType<()> {
command = format!("'{}'", quote_shell_arg(&command, false));
}
params.push(command);
- std::env::set_var("LC_ALL", "C.UTF-8");
+ std::env::set_var("LC_ALL", "C");
if let Some(user) = &su_user {
let su_subcommand = params