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

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

Re: Process output truncation when using UTF-8


From: Milan Zamazal
Subject: Re: Process output truncation when using UTF-8
Date: Fri, 13 Jun 2003 12:38:56 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>>>> "KH" == Kenichi Handa <address@hidden> writes:

    KH> In article <address@hidden>, Milan Zamazal
    KH> <address@hidden> writes:
    >> Thank you.  The case I've reported works well in Emacs 21.3, but
    >> this one still truncates the output:

    KH> [...]
    >> The difference is that the process encoding is set to utf-8-dos
    >> now instead of utf-8.

    KH> Thank you for testing it.  Please try this additional patch.

Thank you.  The file is no longer truncated, but there's an extra blank
line inserted after each line of the text.  The unchanged test case
reproduces the problem:

Attachment: utf-8-bug.el
Description: application/emacs-lisp

It seems LF-LF is inserted at the ends of lines, instead of CR-LF.

If the process encoding is set to `utf-8' instead of `utf-8-dos',
everything is fine, there are no extra blank lines.  The problem was
present already before applying the additional patch.  I think it wasn't
present in untouched Emacs 21.3, but I'm not sure.

Regards,

Milan Zamazal

-- 
The seeker after truth should be humbler than the dust.  The world crushes the
dust under its feet, but the seeker after truth should so humble himself that
even the dust could crush him.                                 -- M. K. Gandhi

reply via email to

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