[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29872: 26.0.90; `man' output encoding, hyphen chars
From: |
Eli Zaretskii |
Subject: |
bug#29872: 26.0.90; `man' output encoding, hyphen chars |
Date: |
Fri, 29 Dec 2017 20:54:56 +0200 |
> Date: Fri, 29 Dec 2017 09:21:42 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 29872@debbugs.gnu.org
>
> > OK. If you manually load man.el from Emacs 25, does the problem go
> > away?
>
> No, I see the same problem.
>
> > Also, if you invoke the 'man' command from the Bash shell and redirect
> > its output to a file, what characters/bytes do you see in place of
> > those hyphens in the file created by that command?
>
> I do `M-x shell' and see this in buffer `*shell*':
>
> bash: cannot set terminal process group (-1): Inappropriate ioctl for device
> bash: no job control in this shell
> >
>
> (Perhaps you have an idea about that? If not, OK.)
>
> But doing what you said anyway (`man find > foo'), the output
> is correct; the "hyphens" are actually hyphens:
>
> name: HYPHEN
> general-category: Pd (Punctuation, Dash)
> decomposition: (8208) ('‐')
Then I think you will have to set up process-coding-system-alist such
that it reads output from 'man' with utf-8 decoding. I don't know
what changed since Emacs 25, but if 'man' produces UTF-8 encoded
hyphens by default, Emacs needs to be told about that.
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/27
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/27
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/28
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/29
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/29
- bug#29872: 26.0.90; `man' output encoding, hyphen chars,
Eli Zaretskii <=
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/29
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/29
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Eli Zaretskii, 2017/12/30
- bug#29872: 26.0.90; `man' output encoding, hyphen chars, Drew Adams, 2017/12/30