From f05da1bd2791e7309abc5dd62e4bfb1dcd0b048b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 29 Jun 2024 15:53:11 +0300 Subject: [PATCH] ; * lisp/epg.el (epg--start): Add commentary about encoding. (cherry picked from commit 179800f36bb01e786ad7573780efeafb742e526e) --- lisp/epg.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/epg.el b/lisp/epg.el index cf59f03c724..494bdd68c41 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -680,6 +680,9 @@ callback data (if any)." :filter #'epg--process-filter :stderr error-process :noquery t)))) + ;; We encode and decode ourselves the text sent/received from gpg, + ;; so the below disables automatic encoding and decoding by + ;; subprocess communications routines. (set-process-coding-system process 'raw-text 'raw-text) (setf (epg-context-process context) process))) -- 2.39.2