From: Kenichi Handa <handa@m17n.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Process output truncation when using UTF-8
Date: Wed, 4 Jun 2003 21:48:25 +0900 (JST) [thread overview]
Message-ID: <200306041248.VAA01372@etlken.m17n.org> (raw)
In-Reply-To: <87el2bi4uy.fsf@zamazal.org> (message from Milan Zamazal on Tue, 03 Jun 2003 16:59:49 +0200)
In article <87el2bi4uy.fsf@zamazal.org>, Milan Zamazal <pdm@zamazal.org> writes:
> Thank you. The case I've reported works well in Emacs 21.3, but this
> one still truncates the output:
[...]
> The difference is that the process encoding is set to utf-8-dos now
> instead of utf-8.
Thank you for testing it. Please try this additional patch.
---
Ken'ichi HANDA
handa@m17n.org
Index: coding.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/coding.c,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -c -r1.285 -r1.286
cvs server: conflicting specifications of output style
*** coding.c 2 Jun 2003 18:49:29 -0000 1.285
--- coding.c 4 Jun 2003 12:43:09 -0000 1.286
***************
*** 4505,4511 ****
int magnification;
if (coding->type == coding_type_ccl)
! magnification = coding->spec.ccl.encoder.buf_magnification;
else if (CODING_REQUIRE_ENCODING (coding))
magnification = 3;
else
--- 4505,4515 ----
int magnification;
if (coding->type == coding_type_ccl)
! {
! magnification = coding->spec.ccl.encoder.buf_magnification;
! if (coding->eol_type == CODING_EOL_CRLF)
! magnification *= 2;
! }
else if (CODING_REQUIRE_ENCODING (coding))
magnification = 3;
else
next prev parent reply other threads:[~2003-06-04 12:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-28 8:12 Process output truncation when using UTF-8 Milan Zamazal
2003-05-30 8:16 ` Kenichi Handa
2003-06-03 14:59 ` Milan Zamazal
2003-06-04 12:48 ` Kenichi Handa [this message]
2003-06-13 10:38 ` Milan Zamazal
2003-06-19 4:24 ` Kenichi Handa
2003-06-20 3:15 ` Richard Stallman
2003-06-20 4:20 ` Kenichi Handa
2003-06-21 4:56 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200306041248.VAA01372@etlken.m17n.org \
--to=handa@m17n.org \
--cc=bug-gnu-emacs@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).