emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: utf-16 not auto-detected when finding file


From: Jason Rumney
Subject: Re: utf-16 not auto-detected when finding file
Date: Wed, 30 Mar 2005 07:57:11 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Dave Love <address@hidden> writes:

> Yes.  Perhaps someone knows exactly what Windows does (assuming the
> only significant use of it is in Windows)?

I would guess that the presence of a BOM is sufficient
heuristics. Detecting 0 or other low byte values every second
byte would work for Latin script based languages, but I don't think
any heuristic like that would work on Asian text unless you could
assume a specific language and use a dictionary.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]