From: Eli Zaretskii Date: Sat, 29 Jun 2024 12:53:11 +0000 (+0300) Subject: ; * lisp/epg.el (epg--start): Add commentary about encoding. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f05da1bd2791e7309abc5dd62e4bfb1dcd0b048b;p=emacs.git ; * lisp/epg.el (epg--start): Add commentary about encoding. (cherry picked from commit 179800f36bb01e786ad7573780efeafb742e526e) --- 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)))