[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Spurious characters in hexl-mode
From: |
Steven . Murdoch |
Subject: |
Spurious characters in hexl-mode |
Date: |
Tue, 04 Sep 2001 12:06:04 +0100 |
In GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit)
of Fri Mar 16 2001 on porky.devel.redhat.com
configured using `configure --mandir=/usr/share/man --infodir=/usr/share/info
--prefix=/usr --libexecdir=/usr/lib --sharedstatedir=/var --with-gcc --with-pop
--with-x-toolkit i386-redhat-linux-gnu'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I have been editing a UTF-8 document which now appears to be invalid, in order
to check this fact I switched to hexl-mode and a spurious character appeared. I
have reduced the file to 4 bytes for the purposes of showing this problem. In
text-mode exactly 4 characters are shown and are rendered correctly assuming
the file is in iso-8859-1 (which is what I would expect) - namely: capital K
(0x4b), capital A-tilde (0xc3), question mark (0x3f), capital B (0x42). In
hexl-mode however 5 bytes are shown, "4b81 c33f 42". The 0x81 character is not
present in the input file. The ASCII view in hexl-mode corresponds to the hex
view, i.e. "K..?B"
I am using the standard emacs package on Redhat GNU/Linux 7.1 with a 2.4 kernel.
This behaviour is also present on the Win32 version of emacs (GNU Emacs 20.7.1
(i386-*-nt5.0.2195) of Tue Jun 13 2000 on buffy)
If you would like any more information and/or screenshots etc... then please
feel free to contact me at Steven.Murdoch@reuters.com (work) or
steven@murdomedia.net (home).
I have attached the input file used to demonstrate this problem.
Thank you,
Steven Murdoch.
Recent input:
up up up up up up up up up up up up up up up up up
up up up up up up up up down down down down down down
down down down down down down up up up up up up up
up up up up up up up up up up up up up up up up up
up up up up up up up up up up up up up up up up down
down down down down down down down down down down down
down down left left left backspace C-x C-s menu-bar
help-menu report-emacs-bug
Recent messages:
Loading etags...done
No tags table loaded; try M-x visit-tags-table
Wrote /home/murdocsj/CorpusWork/src/splitIntoFiles.py [3 times]
Auto-saving...
Auto-saving...done
Closes block: ...for line in fh.xreadlines():
Closes block: for filename in glob.glob("*.old"):
Wrote /home/murdocsj/CorpusWork/src/splitIntoFiles.py [3 times]
Loading emacsbug...
Loading emacsbug...done
(See attached file: testfile)
-----------------------------------------------------------------
Visit our Internet site at http://www.reuters.com
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.
testfile
Description: Binary data
- Spurious characters in hexl-mode,
Steven . Murdoch <=