# HG changeset patch # User Kenichi Handa # Date 966821985 0 # Node ID 75f3cd16a9abefa1a40ad67b4c99c0e4abfb980e # Parent bd0e2cc46c4979bab70a7f1eef15fd4e72ae335b (Man-getpage-in-background): Decode the process output by the system locale coding system. diff -r bd0e2cc46c49 -r 75f3cd16a9ab lisp/man.el --- 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.