all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23701: Decoding broken by sequence ESC comma
@ 2016-06-05 19:13 Taylan Ulrich Bayırlı/Kammer
  2016-06-05 19:59 ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2016-06-05 19:13 UTC (permalink / raw)
  To: 23701

This bug can be reproduced at least on 24.5 and the current 25 pretest
at the time of this writing.

The occurrence of the sequence of the bytes 1B 2C (ASCII ESC and comma)
messes up Emacs's decoding of an ASCII file from that point on.

This doesn't happen in any other text-displaying application I tested,
including a terminal emulator (given it's an escape sequence and all).

Concrete steps to reproduce:

  $ printf 'foo\033,bar' > tmp.txt
  $ emacs -q tmp.txt

Expected result:

  A buffer displaying "foo^[,bar".

Actual result:

  A buffer displaying "fooáò".

Taylan





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

end of thread, other threads:[~2016-06-06 15:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-05 19:13 bug#23701: Decoding broken by sequence ESC comma Taylan Ulrich Bayırlı/Kammer
2016-06-05 19:59 ` Andreas Schwab
2016-06-05 22:35   ` Taylan Ulrich Bayırlı/Kammer
2016-06-06  2:33     ` Eli Zaretskii
2016-06-06 13:17       ` Taylan Ulrich Bayırlı/Kammer
2016-06-06 15:07         ` Eli Zaretskii
2016-06-06  7:27     ` Andreas Schwab

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.