[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ediff displays gibberish output
From: |
Michael Kifer |
Subject: |
Re: ediff displays gibberish output |
Date: |
Sun, 17 Dec 2006 09:57:09 -0500 |
> > From: Leo <address@hidden>
> > Date: Wed, 13 Dec 2006 01:22:50 +0000
> >
> > How to reproduce:
> > 1. save the attachments to file1.txt and file2.txt
> >
> > 2. M-x ediff RET and choose file1.txt file2.txt respectively
> >
> > 3. Type 'D' in ediff panel window and you see the difference
> > output is gibberish as shown in the screenshot.
>
> Thank you for your report.
>
> I'm not sure this is a bug, though: `D' displays the raw output from
> Diff, whose encoding is not clear, because it comes from two different
> files that could be each encoded differently. Ediff reads the output
> of Diff in raw-text form, precisely for this reason, and that is how
> the buffer is displayed to you when you press `D'. What you see is
> not gibberish, but the UTF-8 encoding of the non-ASCII characters,
> exactly as they are in the written in file1.txt on disk.
>
> I'm not sure we can do any better here, unless we somehow know the
> encoding of each of the two files.
>
> Michael and Handa-san, could you please comment on this?
>
This is also what I basically told Leo.
--michael
- Re: ediff displays gibberish output, (continued)
- Re: ediff displays gibberish output, Leo, 2006/12/16
- Re: ediff displays gibberish output, Eli Zaretskii, 2006/12/16
- Re: ediff displays gibberish output, Leo, 2006/12/16
- Re: ediff displays gibberish output, Kenichi Handa, 2006/12/17
- Re: ediff displays gibberish output, Leo, 2006/12/17
- Re: ediff displays gibberish output, Eli Zaretskii, 2006/12/17
- Re: ediff displays gibberish output, Stefan Monnier, 2006/12/18
- Re: ediff displays gibberish output, Eli Zaretskii, 2006/12/18
- Re: ediff displays gibberish output, Stefan Monnier, 2006/12/18
- Re: ediff displays gibberish output, Kenichi Handa, 2006/12/18
Re: ediff displays gibberish output,
Michael Kifer <=