From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5050: 23.1; efiff: Displaying bytes instead of characters in messages Date: Thu, 20 Aug 2020 22:21:55 +0300 Message-ID: <831rk1cecs.fsf@gnu.org> References: <87ljhtnixd.fsf@gmx.de> <87o8n5macz.fsf@gnus.org> <87imddtahz.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16094"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, sebastian_rose@gmx.de, 5050@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 21:23:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8q9W-00044c-0J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 21:23:10 +0200 Original-Received: from localhost ([::1]:49972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8q9U-0000vN-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 15:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8q9O-0000v5-S2 for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 15:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8q9O-0000JU-HE for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8q9O-0001EG-Ct for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5050 X-GNU-PR-Package: emacs Original-Received: via spool by 5050-submit@debbugs.gnu.org id=B5050.15979513304652 (code B ref 5050); Thu, 20 Aug 2020 19:23:02 +0000 Original-Received: (at 5050) by debbugs.gnu.org; 20 Aug 2020 19:22:10 +0000 Original-Received: from localhost ([127.0.0.1]:44169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8q8Y-0001Cy-3P for submit@debbugs.gnu.org; Thu, 20 Aug 2020 15:22:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8q8W-0001Cl-Fb for 5050@debbugs.gnu.org; Thu, 20 Aug 2020 15:22:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46605) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8q8R-0000Au-2V; Thu, 20 Aug 2020 15:22:03 -0400 Original-Received: from [176.228.60.248] (port=3713 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8q8Q-0004Cf-BL; Thu, 20 Aug 2020 15:22:02 -0400 In-Reply-To: <87imddtahz.fsf@gmx.net> (message from Stephen Berman on Thu, 20 Aug 2020 20:53:12 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185769 Archived-At: > From: Stephen Berman > Date: Thu, 20 Aug 2020 20:53:12 +0200 > Cc: Sebastian Rose , 5050@debbugs.gnu.org > > >> If I do > >> > >> M-x ediff-files RET > >> > >> and choose binary files, e.g. x.png and x.jpg, this is, what I see in > >> the `*ediff*' buffer (no indentation): > >> > >> Bin\303\244rdateien /home/sebastian/x.png and /home/sebastian/x.jpg sind > >> verschieden. > >> > >> What I expect to see is: > >> > >> Binärdateien /home/sebastian/x.png and /home/sebastian/x.jpg sind verschieden. > > > > I don't have a German locale here, so I can't test this. However, the > > buffer I get when I try this is seems to use an utf-8 input method, so > > it seems likely that this has been fixed in the decade that passed since > > the bug report. > > > > Does somebody here have Emacs running in a German locale and can test > > this? (Or any other locale that outputs non-ASCII characters for "diff > > bin1 bin2".) > > When I start Emacs built from current master like this: > > LANG=de_DE.UTF-8 emacs -Q > > and then carry out the above recipe, I get exactly the above message > with raw bytes instead of a-umlaut. What do you see in that environment if you diff 2 files that have text with umlauts? do you also see raw bytes?