From 0cced99164baab5b56ee57e6b1dccea21164c85e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20H=C3=B6tzel?= Date: Wed, 14 Oct 2015 20:09:03 +0200 Subject: [PATCH] Use proper localization in tramp-gvfs.el * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): Suppress localized settings in order to proper parse gfvs output. --- lisp/net/tramp-gvfs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index b7b0a1c016f..b90914256ab 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el @@ -791,6 +791,10 @@ file names." (ignore-errors ;; Don't modify `last-coding-system-used' by accident. (let ((last-coding-system-used last-coding-system-used) + (process-environment + (append + '("LANG=C.utf8" "LANGUAGE=C.utf8" "LC_ALL=C.utf8") + process-environment)) dirp res-symlink-target res-numlinks res-uid res-gid res-access res-mod res-change res-size res-filemodes res-inode res-device) (with-parsed-tramp-file-name filename nil -- 2.39.2