all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Sebastian Rose <sebastian_rose@gmx.de>, 5050@debbugs.gnu.org
Subject: bug#5050: 23.1; efiff: Displaying bytes instead of characters in messages
Date: Thu, 20 Aug 2020 21:51:44 +0200	[thread overview]
Message-ID: <87a6ypt7sf.fsf@gmx.net> (raw)
In-Reply-To: <87blj5ksso.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 20 Aug 2020 21:42:47 +0200")

On Thu, 20 Aug 2020 21:42:47 +0200 Lars Ingebrigtsen <larsi@gnus.org> wrote:

> (defun ediff-exec-process (program buffer synch options &rest files)
>
> [...]
>
> 	;; If this is a buffer job, we are diffing temporary files
> 	;; produced by Emacs with ediff-coding-system-for-write, so
> 	;; use the same encoding to read the results.
> 	(coding-system-for-read
> 	 (if (string-match "buffer" (symbol-name ediff-job-name))
> 	     ediff-coding-system-for-write
> 	   ediff-coding-system-for-read))
> 	args)
>
> This is the problem: ediff-coding-system-for-read is raw-text, which
> gives us the binary data in the buffer instead of characters.

Indeed, and when I set ediff-coding-system-for-read to utf-8 and carry
out the OP's recipe, the German text is displayed as it should be with
umlaut.

Steve Berman





  parent reply	other threads:[~2020-08-20 19:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 20:13 bug#5050: 23.1; efiff: Displaying bytes instead of characters in messages Sebastian Rose
2009-11-27 16:01 ` Kevin Rodgers
2020-08-20 18:38 ` Lars Ingebrigtsen
2020-08-20 18:53   ` Stephen Berman
2020-08-20 19:21     ` Eli Zaretskii
2020-08-20 19:35       ` Stephen Berman
2020-08-20 19:42         ` Eli Zaretskii
2020-08-20 19:28     ` Lars Ingebrigtsen
2020-08-20 19:42     ` Lars Ingebrigtsen
2020-08-20 19:50       ` Eli Zaretskii
2020-08-20 20:01         ` Lars Ingebrigtsen
2020-08-20 20:12           ` Eli Zaretskii
2020-08-20 20:18             ` Lars Ingebrigtsen
2020-08-20 20:24               ` Lars Ingebrigtsen
2020-08-20 20:36                 ` Stephen Berman
2020-08-21 11:21                   ` Lars Ingebrigtsen
2020-08-20 20:17           ` Lars Ingebrigtsen
2020-08-20 19:51       ` Stephen Berman [this message]
2020-08-20 20:14         ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6ypt7sf.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=5050@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=sebastian_rose@gmx.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.