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

(Man-getpage-in-background): Decode the process output by the system

locale coding system.
parent 6922b018
...@@ -596,6 +596,9 @@ SECTION SUBJECT when prompted for a manual entry." ...@@ -596,6 +596,9 @@ SECTION SUBJECT when prompted for a manual entry."
;; The following is so Awk script gets \n intact ;; The following is so Awk script gets \n intact
;; But don't prevent decoding of the outside. ;; But don't prevent decoding of the outside.
(coding-system-for-write 'raw-text-unix) (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. ;; Avoid possible error by using a directory that always exists.
(default-directory "/")) (default-directory "/"))
;; Prevent any attempt to use display terminal fanciness. ;; 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