From: Kenichi Handa Date: Mon, 21 Aug 2000 01:39:45 +0000 (+0000) Subject: (Man-getpage-in-background): Decode the process output by the system X-Git-Tag: emacs-pretest-21.0.90~2141 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86293583814270b17549bb203a3d0d6925b3ccfc;p=emacs.git (Man-getpage-in-background): Decode the process output by the system locale coding system. --- 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.