From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Man-mode showing bytes at line end positions
Date: Fri, 22 Dec 2017 20:29:07 +0200 [thread overview]
Message-ID: <83po76liq4.fsf@gnu.org> (raw)
In-Reply-To: <87608yps4z.fsf@gmail.com> (message from Narendra Joshi on Fri, 22 Dec 2017 23:22:12 +0530)
> From: Narendra Joshi <narendraj9@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Fri, 22 Dec 2017 23:22:12 +0530
>
> The values are as follows:
>
> default-process-coding-system
> (iso-latin-1-unix . iso-latin-1-unix)
>
>
> locale-coding-system
> iso-latin-1-unix
That's your problem, right there: your locale is Latin-1, but the man
pages were generated for a UTF-8 locale. This mismatch is the root
cause of the problem you are having.
The solution for you would be to change your locale to be a UTF-8
locale, i.e. a locale which uses UTF-8 as its codeset. Then Emacs
will default to UTF-8 when it decodes the man page, and you will see
the hyphen characters instead of binary bytes.
next prev parent reply other threads:[~2017-12-22 18:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 11:48 Man-mode showing bytes at line end positions Narendra Joshi
2017-12-17 12:01 ` Yuri Khan
2017-12-17 12:55 ` Narendra Joshi
2017-12-17 15:29 ` Eli Zaretskii
2017-12-17 18:53 ` Narendra Joshi
2017-12-17 20:14 ` Eli Zaretskii
2017-12-22 16:02 ` Narendra Joshi
2017-12-22 16:29 ` Eli Zaretskii
2017-12-22 17:08 ` Eli Zaretskii
2017-12-22 17:52 ` Narendra Joshi
2017-12-22 18:29 ` Eli Zaretskii [this message]
2017-12-22 19:47 ` Narendra Joshi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83po76liq4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).