summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsg <>2006-02-03 02:37:14 +0000
committerpsg <>2006-02-03 02:37:14 +0000
commit1c721c8acb87fa152df6774fb2fdcb95ee73a348 (patch)
treed3d1fae5b053ef38ec4272ae1ba11ec5d7801c5c
parent626f81e3afff14beb85837f9af6cbf5bd9ea7fcb (diff)
deb-view.wl: Bug fix: Fails if coding system utf-8 is preferred.
Thanks to Sven Joachim for the report and the patch (Closes: #344260).
-rw-r--r--deb-view.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/deb-view.el b/deb-view.el
index 6a24c09..bdf9026 100644
--- a/deb-view.el
+++ b/deb-view.el
@@ -216,6 +216,14 @@
;; then open in the other (larger) window.
;; Thanks to Dan Jacobson for suggesting this change (Closes: #321869)
+;; 1.13 2006-02-02 Sven Joachim <sven_joachim@web.de>
+;; Bug fix for UTF-8 (Closes: #344260)
+;; The `call-process' and `call-process-region' use
+;; default-process-coding-system rather than coding-system-for-read.
+;; The former is set to '(mule-utf-8 . mule-utf-8) in my setup, and that
+;; caused the problem. So the solution is to bind
+;; default-process-coding-system as well in deb-view-process
+
;;; Code:
@@ -343,6 +351,7 @@ at the prompt."
(get-buffer-create data-buffer-name)))
(return-buffer (current-buffer))
(coding-system-for-read 'no-conversion)
+ (default-process-coding-system '(no-conversion . no-conversion))
file-buffer
new-archive-format)
(message "deb-view processing deb file %s..." deb-view-buffer-name)