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

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

[debbugs-tracker] bug#23701: closed (Decoding broken by sequence ESC com


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23701: closed (Decoding broken by sequence ESC comma)
Date: Mon, 06 Jun 2016 15:08:02 +0000

Your message dated Mon, 06 Jun 2016 18:07:43 +0300
with message-id <address@hidden>
and subject line Re: bug#23701: Decoding broken by sequence ESC comma
has caused the debbugs.gnu.org bug report #23701,
regarding Decoding broken by sequence ESC comma
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23701: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23701
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Decoding broken by sequence ESC comma Date: Sun, 05 Jun 2016 22:13:08 +0300
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#23701: Decoding broken by sequence ESC comma Date: Mon, 06 Jun 2016 18:07:43 +0300
> From: address@hidden (Taylan Ulrich Bayırlı/Kammer)
> Cc: address@hidden,  address@hidden
> Date: Mon, 06 Jun 2016 16:17:42 +0300
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > ISO 2022 and its derivatives are widely used in Far Eastern regions,
> > so I don't see how can we stop supporting it.
> 
> Fair enough.  I would think this bug report can be closed then.

Thanks, done.

For the record, the way to prevent unwanted decoding in these cases is
one of:

  . Add a 'coding' cookie to the file
  . Precede "C-x C-f" with "C-x RET c us-ascii RET"
  . "C-x RET r us-ascii RET", like you did.



--- End Message ---

reply via email to

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