From 86293583814270b17549bb203a3d0d6925b3ccfc Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 21 Aug 2000 01:39:45 +0000 Subject: [PATCH] (Man-getpage-in-background): Decode the process output by the system locale coding system. --- lisp/man.el | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.2