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.
This commit is contained in:
Kazuhiro Ito 2024-06-29 20:56:02 +09:00 committed by Eli Zaretskii
parent a65b6aac6b
commit 73898f0214

View file

@ -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)