* lisp/epg.el (epg--start): Don't convert EOL on encoding (bug#72542).
authorKazuhiro Ito <kzhr@d1.dion.ne.jp>
Fri, 9 Aug 2024 12:28:41 +0000 (21:28 +0900)
committerEli Zaretskii <eliz@gnu.org>
Sat, 10 Aug 2024 07:54:18 +0000 (10:54 +0300)
lisp/epg.el

index 494bdd68c415291bee5b8f17c94a3b9efbc3dc7b..6b4db52f298e3f2896025db9c2aeaca675daa39c 100644 (file)
@@ -683,7 +683,7 @@ callback data (if any)."
     ;; 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)
+    (set-process-coding-system process 'raw-text 'raw-text-unix)
     (setf (epg-context-process context) process)))
 
 (defun epg--process-filter (process input)