* Emacs fails to recogize "iso-2022-jp" encoded file
@ 2008-06-04 0:17 Miles Bader
2008-06-04 7:55 ` Kenichi Handa
0 siblings, 1 reply; 2+ messages in thread
From: Miles Bader @ 2008-06-04 0:17 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
VIsiting a file which is encoded using the "iso-2022-jp" coding system,
using the command ("/tmp/isojp" is the file):
LANG=ja_JP.utf-8 emacs -Q /tmp/isojp
... does not recognize the file's encoding properly, and instead tries
to decode it using utf-8 (so the file contents show up as a bunch of
escape characters).
Emacs reads the file properly if the encoding to use is explicitly
specified (with "C-x C-m c iso-2022-jp RET C-x C-f").
This worked properly as of a week or so ago (not sure the exact dates),
so it seems to be a recent regression.
Thanks,
-Miles
p.s. I've attached the test file I used, though it seems to happen with
any iso-2022-jp encoded file.
[-- Attachment #2: test file for emacs --]
[-- Type: application/octet-stream, Size: 11 bytes --]
[-- Attachment #3: Type: text/plain, Size: 100 bytes --]
--
`There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.'
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Emacs fails to recogize "iso-2022-jp" encoded file
2008-06-04 0:17 Emacs fails to recogize "iso-2022-jp" encoded file Miles Bader
@ 2008-06-04 7:55 ` Kenichi Handa
0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2008-06-04 7:55 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
In article <877id63vgc.fsf@catnip.gol.com>, Miles Bader <miles@gnu.org> writes:
> [1 <text/plain (7bit)>]
> VIsiting a file which is encoded using the "iso-2022-jp" coding system,
> using the command ("/tmp/isojp" is the file):
> LANG=ja_JP.utf-8 emacs -Q /tmp/isojp
> ... does not recognize the file's encoding properly, and instead tries
> to decode it using utf-8 (so the file contents show up as a bunch of
> escape characters).
> Emacs reads the file properly if the encoding to use is explicitly
> specified (with "C-x C-m c iso-2022-jp RET C-x C-f").
> This worked properly as of a week or so ago (not sure the exact dates),
> so it seems to be a recent regression.
Oops, I've just installed a fix.
---
Kenichi Handa
handa@ni.aist.go.jp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-04 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04 0:17 Emacs fails to recogize "iso-2022-jp" encoded file Miles Bader
2008-06-04 7:55 ` Kenichi Handa
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).