Commit a1c5fe60 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Man-getpage-in-background): Fix previous change.

Decode the process output only when we are in multibyte mode.
parent 57bb5c37
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment