From: Michael Albinus Date: Thu, 30 Mar 2017 15:18:17 +0000 (+0200) Subject: * lisp/net/tramp-sh.el (tramp-get-remote-locale): Add "C.UTF-8" as candidate. X-Git-Tag: emacs-26.0.90~522^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1be3330b31f9c0d0d0f7d25641e8b81c807ca616;p=emacs.git * lisp/net/tramp-sh.el (tramp-get-remote-locale): Add "C.UTF-8" as candidate. --- diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index e0f8d714e17..e4a48b7f8e2 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -5222,7 +5222,7 @@ Nonexistent directories are removed from spec." "Determine remote locale, supporting UTF8 if possible." (with-tramp-connection-property vec "locale" (tramp-send-command vec "locale -a") - (let ((candidates '("en_US.utf8" "C.utf8" "en_US.UTF-8")) + (let ((candidates '("en_US.utf8" "C.utf8" "en_US.UTF-8" "C.UTF-8")) locale) (with-current-buffer (tramp-get-connection-buffer vec) (while candidates