2006-04-30 Daiki Ueno <ueno@unixuser.org>
+ * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
+ decrypted text.
+
* epg.el (epg-read-output): Don't convert line endings of the
output file.
;; Copyright (C) 2006 Daiki Ueno
;; Author: Daiki Ueno <ueno@unixuser.org>
-;; Keywords: PGP, GnuPG
+;; Keywords: PGP, GnuPG, Gnus
;; This file is part of EasyPG.
(set-buffer (get-buffer-create pgg-errors-buffer))
(erase-buffer))
(condition-case error
- (setq plain (epg-decrypt-string context (buffer-substring start end))
+ (setq plain
+ (decode-coding-string
+ (epg-decrypt-string context (buffer-substring start end))
+ 'raw-text)
pgg-epg-secret-key-id-list nil)
(error
(while pgg-epg-secret-key-id-list