summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2000-08-21 01:39:45 +0000
committerKenichi Handa <handa@m17n.org>2000-08-21 01:39:45 +0000
commit86293583814270b17549bb203a3d0d6925b3ccfc (patch)
tree2312807106c9070440b5eca34b7828e7372d5a74 /lisp/man.el
parent6922b0180289938b12aa27769db88f93d5278c0a (diff)
downloademacs-86293583814270b17549bb203a3d0d6925b3ccfc.tar.gz
(Man-getpage-in-background): Decode the process output by the system
locale coding system.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 9ed269a23b5..783b155c520 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -596,6 +596,9 @@ SECTION SUBJECT when prompted for a manual entry."
;; The following is so Awk script gets \n intact
;; But don't prevent decoding of the outside.
(coding-system-for-write 'raw-text-unix)
+ ;; We must decode the output by a coding system that the
+ ;; systen locale suggests.
+ (coding-system-for-read locale-coding-system)
;; Avoid possible error by using a directory that always exists.
(default-directory "/"))
;; Prevent any attempt to use display terminal fanciness.