help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Man-mode showing bytes at line end positions


From: Eli Zaretskii
Subject: Re: Man-mode showing bytes at line end positions
Date: Fri, 22 Dec 2017 20:29:07 +0200

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]