From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29872: 26.0.90; `man' output encoding, hyphen chars Date: Sat, 30 Dec 2017 20:20:16 +0200 Message-ID: <83o9mgdqn3.fsf@gnu.org> References: <<2dfed463-2ddb-4591-a476-c78e0b8d445b@default>> <<838tdnh6ej.fsf@gnu.org>> <<5a25751a-3a68-4e44-862f-44fa47871c04@default>> <<83shbtg8zc.fsf@gnu.org>> <> <<83mv21fjpb.fsf@gnu.org>> <> <<83d12wfxb5.fsf@gnu.org>> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1514657958 6822 195.159.176.226 (30 Dec 2017 18:19:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2017 18:19:18 +0000 (UTC) Cc: 29872@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 30 19:19:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVLix-0001GF-JJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Dec 2017 19:19:11 +0100 Original-Received: from localhost ([::1]:34982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVLkw-0006tn-7J for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Dec 2017 13:21:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVLkn-0006tH-PS for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 13:21:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVLkk-0003JL-HW for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 13:21:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVLkk-0003Ii-E4 for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 13:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eVLkk-0003Me-6n for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 13:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Dec 2017 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29872-submit@debbugs.gnu.org id=B29872.151465804212875 (code B ref 29872); Sat, 30 Dec 2017 18:21:02 +0000 Original-Received: (at 29872) by debbugs.gnu.org; 30 Dec 2017 18:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:58112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVLkP-0003La-NF for submit@debbugs.gnu.org; Sat, 30 Dec 2017 13:20:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVLkO-0003LM-FC for 29872@debbugs.gnu.org; Sat, 30 Dec 2017 13:20:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVLkG-0002Yf-0d for 29872@debbugs.gnu.org; Sat, 30 Dec 2017 13:20:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVLkF-0002YS-TN; Sat, 30 Dec 2017 13:20:31 -0500 Original-Received: from [176.228.60.248] (port=1578 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eVLkE-000592-TU; Sat, 30 Dec 2017 13:20:31 -0500 In-reply-to: (message from Drew Adams on Sat, 30 Dec 2017 09:03:51 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141623 Archived-At: > Date: Sat, 30 Dec 2017 09:03:51 -0800 (PST) > From: Drew Adams > Cc: 29872@debbugs.gnu.org > > > For 'man', try this: > > (setq process-coding-system-alist > > (cons '("man" . (utf-8-dos . utf-8-unix)) > > process-coding-system-alist)) > > Thanks; I tried that. It did not change the result - > the same problem as reported for this bug report. > > Again I did `emacs -Q', loaded cygwin-mount.el then > setup-cygwin.el, then evaluated the above code to add > a `man' entry to `process-coding-system-alist', then > did `M-x man RET find RET'. I again see the "preceâ€" > with the problematic "hyphen". > > process-coding-system-alist is a variable defined in > ‘C source code’. > Its value is > (("man" utf-8-dos . utf-8-unix) > ("bash" raw-text-dos . raw-text-unix) > ("[pP][lL][iI][nN][kK]" . #1=(undecided-dos . undecided-dos)) > ("[cC][mM][dD][pP][rR][oO][xX][yY]" . #1#)) What about the below, does that work? (let ((locale-coding-system 'utf-8)) (man "find"))