unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Process output truncation when using UTF-8
@ 2003-05-28  8:12 Milan Zamazal
  2003-05-30  8:16 ` Kenichi Handa
  0 siblings, 1 reply; 9+ messages in thread
From: Milan Zamazal @ 2003-05-28  8:12 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

In GNU Emacs 21.3.2 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-04-24 on raven, modified by Debian
configured using `configure  i386-linux --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: cs_CZ.ISO8859-2
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: iso-8859-2
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When I start a process, set its input and output encoding to utf-8 and
send a long string to it through process-send-string, usually some final
part of the sent string is missing on the recipient's side.

You can try to reproduce the problem by evaluating the following Elisp
file:


[-- Attachment #2: utf-8-bug.el --]
[-- Type: application/emacs-lisp, Size: 322 bytes --]

[-- Attachment #3: Type: text/plain, Size: 418 bytes --]


It should send Czech Emacs tutorial to a process, that stores it into
the /tmp/foo file.  On my system, some end part of the tutorial is
missing in /tmp/foo -- about the last 900 characters are missing.  It
doesn't happen when the process encoding is set to iso-8859-2 instead.

I can reproduce the problem on my Debian GNU/Linux i386 system with both
Emacs 21.3 as packaged by Debian and current Emacs CVS snapshot.

[-- Attachment #4: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-06-21  4:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).