]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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)
committerEshel Yaron <me@eshelyaron.com>
Sun, 11 Aug 2024 07:31:44 +0000 (09:31 +0200)
(cherry picked from commit 4dd953d3cc37a6f84458eccd6fc81966fa7207f5)

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)