[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
utf-16 not auto-detected when finding file
From: |
Dave Love |
Subject: |
utf-16 not auto-detected when finding file |
Date: |
Sun, 13 Mar 2005 15:58:33 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3 (gnu/linux) |
The encoding of a utf-16 file isn't detected correctly when finding
the file.
To reproduce: push 'coding-category-utf-16-le onto
`coding-category-list', and put "foo" into a new buffer. C-x h and
M-x encode-coding-region mule-utf-16le-with-signature. Then,
correctly:
(detect-coding-region 1 (point-max) t)
=> mule-utf-16le-with-signature-unix
Save it to a file as binary and then C-x C-v. It's detected as
latin-1 (in a latin-1 locale). It is read correctly if you specify
the coding system for C-x C-v.
- utf-16 not auto-detected when finding file,
Dave Love <=
- Re: utf-16 not auto-detected when finding file, Kenichi Handa, 2005/03/15
- Re: utf-16 not auto-detected when finding file, Dave Love, 2005/03/24
- Re: utf-16 not auto-detected when finding file, Kenichi Handa, 2005/03/25
- Re: utf-16 not auto-detected when finding file, Dave Love, 2005/03/25
- Re: utf-16 not auto-detected when finding file, Kenichi Handa, 2005/03/27
- Re: utf-16 not auto-detected when finding file, Dave Love, 2005/03/29
- Re: utf-16 not auto-detected when finding file, David Hunter, 2005/03/30
- Re: utf-16 not auto-detected when finding file, Jason Rumney, 2005/03/30
- Re: utf-16 not auto-detected when finding file, Kenichi Handa, 2005/03/30
- Re: utf-16 not auto-detected when finding file, Jason Rumney, 2005/03/30