]> git.eshelyaron.com Git - emacs.git/commitdiff
Use proper localization in tramp-gvfs.el
authorJürgen Hötzel <juergen@archlinux.org>
Wed, 14 Oct 2015 18:09:03 +0000 (20:09 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 14 Oct 2015 18:09:03 +0000 (20:09 +0200)
* 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

index b7b0a1c016fe13a8226f57db4a5641f1c8e16ede..b90914256ab0112d01f58457b2754a3beeb67bd0 100644 (file)
@@ -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