# HG changeset patch # User Richard M. Stallman # Date 872970384 0 # Node ID 70c989c729f14a87d075ad694c7109cf4350ff0f # Parent 3be882bc0211cc4009965ea4e25090498fcbb692 (dired-get-filename): Encode file name using the buffer's coding system. diff -r 3be882bc0211 -r 70c989c729f1 lisp/dired.el --- a/lisp/dired.el Sat Aug 30 18:03:33 1997 +0000 +++ b/lisp/dired.el Sat Aug 30 19:46:24 1997 +0000 @@ -1299,6 +1299,8 @@ "\\([^\\]\\|\\`\\)\"" file "\\1\\\\\"" nil t) file) "\""))))) + (if buffer-file-coding-system + (setq file (encode-coding-string file buffer-file-coding-system))) (if (eq localp 'no-dir) file (and file (concat (dired-current-directory localp) file)))))