changeset 30995:75f3cd16a9ab

(Man-getpage-in-background): Decode the process output by the system locale coding system.
author Kenichi Handa <handa@m17n.org>
date Mon, 21 Aug 2000 01:39:45 +0000
parents bd0e2cc46c49
children c5430a16cb23
files lisp/man.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Mon Aug 21 01:39:25 2000 +0000
+++ b/lisp/man.el	Mon Aug 21 01:39:45 2000 +0000
@@ -596,6 +596,9 @@
 	    ;; 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.