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

Re: Automatic encoding guessing



Followup to:  <3BD718CE.A83F7C51@xxxxxxxxxxxxxxxx>
By author:    "D. Dale Gulledge" <dsplat@xxxxxxxxxxxxxxxx>
In newsgroup: linux.utf8
> > 
> > Files with control codes as markup.  More common than you seem to
> > think.
> 
> For something like that, I could certainly accept that Emacs could not
> guess the encoding.  But I would rather see it ask about unusual cases
> instead of guessing wrong.
> 

My point exactly.  Heuristics may be useful, but they are
fundamentally guessing.

The thing that is *really* annoying is that at least Emacs 20 won't
even handle the most common cases (such as plain iso-8859-1) correctly
without complaining loudly first, and will still do the above.

Emacs 19 did none of this crap.  It did what it was told, and if it
didn't match, you got octal bytes that were at least unchanged when
you saved the file again.

	-hpa
-- 
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@xxxxxxxxx>
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/