From a1c5fe609cac12209f87f4c5bd60ea4580d73ce5 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 11 Oct 2000 23:59:16 +0000 Subject: [PATCH] (Man-getpage-in-background): Fix previous change. Decode the process output only when we are in multibyte mode. --- lisp/man.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/man.el b/lisp/man.el index dd53df7bd63..2c92fba1822 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -592,8 +592,10 @@ SECTION SUBJECT when prompted for a manual entry." ;; 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) + ;; systen locale suggests in multibyte mode. + (coding-system-for-read + (if default-enable-multibyte-characters + locale-coding-system 'raw-text-unix)) ;; Avoid possible error by using a directory that always exists. (default-directory "/")) ;; Prevent any attempt to use display terminal fanciness. -- 2.39.5