diff options
author | Kenichi Handa <handa@m17n.org> | 2000-08-21 01:39:45 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2000-08-21 01:39:45 +0000 |
commit | 86293583814270b17549bb203a3d0d6925b3ccfc (patch) | |
tree | 2312807106c9070440b5eca34b7828e7372d5a74 /lisp/man.el | |
parent | 6922b0180289938b12aa27769db88f93d5278c0a (diff) | |
download | emacs-86293583814270b17549bb203a3d0d6925b3ccfc.tar.gz |
(Man-getpage-in-background): Decode the process output by the system
locale coding system.
Diffstat (limited to 'lisp/man.el')
-rw-r--r-- | lisp/man.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el index 9ed269a23b5..783b155c520 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -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. |