From: Kazuhiro Ito Date: Sat, 29 Jun 2024 11:56:02 +0000 (+0900) Subject: Fix non-ASCII filename operatiion on EasyPG (bug#71500) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf13f29b4c01d6b5b5a6871fdb336580be3daca6;p=emacs.git Fix non-ASCII filename operatiion on EasyPG (bug#71500) * lisp/epg.el (epg--start): Don't encode command-line arguments for gpg2 program in raw-text. (cherry picked from commit 73898f0214c9fa7f6216fc03dfdaccf67c6d0e03) --- diff --git a/lisp/epg.el b/lisp/epg.el index 7bec91f616d..cf59f03c724 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -676,10 +676,11 @@ callback data (if any)." :command (cons (epg-context-program context) args) :connection-type 'pipe - :coding 'raw-text + :coding '(raw-text . nil) :filter #'epg--process-filter :stderr error-process :noquery t)))) + (set-process-coding-system process 'raw-text 'raw-text) (setf (epg-context-process context) process))) (defun epg--process-filter (process input)