]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-getpage-in-background): Decode the process output by the system
authorKenichi Handa <handa@m17n.org>
Mon, 21 Aug 2000 01:39:45 +0000 (01:39 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 21 Aug 2000 01:39:45 +0000 (01:39 +0000)
locale coding system.

lisp/man.el

index 9ed269a23b5cef20c96f8cc284f8dd1dade4fa1c..783b155c5208e6b708e87427217bd88cad179955 100644 (file)
@@ -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.