[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coding tags and utf-16
From: |
Richard M. Stallman |
Subject: |
Re: coding tags and utf-16 |
Date: |
Wed, 04 Jan 2006 22:46:13 -0500 |
If a file is encoded without BOM, we must use the less
reliable heuristics to guess utf-16be or utf-16le. If you
find a coding-tag spec by ignoring all zero bytes at even
byte indexes, it means that the file is, in high
possibility, utf-16be whatever the tag value is. If you
find a coding-tag spec by ignoring all zero bytes at odd
byte indexes, it means that the file is utf-16le whatever
the tag value is.
Does Emacs already implement these heuristics?
But, those are anyway just heuristics; not 100% reliable.
So I think we need a user option to turn it on and off, or
perhaps a user option to select which kind of heuristics.
Should we install this option now?
- Re: coding tags and utf-16, Kenichi Handa, 2006/01/04
- Re: coding tags and utf-16, Werner LEMBERG, 2006/01/04
- Re: coding tags and utf-16,
Richard M. Stallman <=
- Re: coding tags and utf-16, Kenichi Handa, 2006/01/04
- Re: coding tags and utf-16, Richard M. Stallman, 2006/01/05
- Re: coding tags and utf-16, Werner LEMBERG, 2006/01/05
- Re: coding tags and utf-16, Kenichi Handa, 2006/01/06
- Re: coding tags and utf-16, Richard M. Stallman, 2006/01/06
- Re: coding tags and utf-16, Kenichi Handa, 2006/01/07
Re: coding tags and utf-16, Stefan Monnier, 2006/01/05