From 01d2af9c7c9d0720022f027838d17123ca2c9cc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20H=C3=B6tzel?= Date: Thu, 22 Oct 2015 09:09:27 +0200 Subject: [PATCH] Further fix for proper locale handling in tramp-gvfs.el * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): Just suppress LC_MESSAGES locale category settings. --- lisp/net/tramp-gvfs.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index b9d2fa2739e..177ccfc3712 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el @@ -791,10 +791,7 @@ 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)) + (process-environment (cons "LC_MESSAGES=C" 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