From 8742f96f9595fd526b35400a221ca7a81cf1b292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Thu, 27 Dec 2012 06:10:26 +0100 Subject: [PATCH] mml2015.el (mml2015-epg-key-image): Use --display-charset utf-8. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Arne Jørgensen --- lisp/ChangeLog | 4 ++++ lisp/mml2015.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eafb422..00f843c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-12-27 Arne Jørgensen + + * mml2015.el (mml2015-epg-key-image): Use --display-charset utf-8. + 2012-12-26 Katsumi Yamaoka * mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte. diff --git a/lisp/mml2015.el b/lisp/mml2015.el index 0bc83ad..a9121d5 100644 --- a/lisp/mml2015.el +++ b/lisp/mml2015.el @@ -827,7 +827,7 @@ If set, it overrides the setting of `mml2015-sign-with-sender'." (let* ((coding-system-for-write 'binary) (coding-system-for-read 'binary) (data (shell-command-to-string - (format "%s --list-options no-show-photos --attribute-fd 2 --list-keys %s > /dev/null" + (format "%s --display-charset utf-8 --list-options no-show-photos --attribute-fd 2 --list-keys %s > /dev/null" epg-gpg-program key-id)))) (when (> (length data) 0) (insert (substring data 16)) -- Arne Jørgensen