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: Kenichi Handa
Subject: Re: utf-16 not auto-detected when finding file
Date: Mon, 28 Mar 2005 09:34:40 +0900 (JST)

In article <address@hidden>, Dave Love <address@hidden> writes:

> Kenichi Handa <address@hidden> writes:
>>  I don't know which coding systems should be utf-16 in that
>>  environment.  It seems that at least
>>  default-file-coding-system should not be utf-16.  Do you
>>  know a precise recipe of utf-16 environment and when to use
>>  it?

> No, sorry.  You are right about default-file-coding-system, at least.

> Maybe it isn't appropriate to do that, but I'd have thought it would
> be useful at least for Emacs to auto-detect utf-16.  That isn't likely
> to give false positives is it?

I think it's possible to detect utf-16 by using heuristics
with high accuracy.  I'll try it in emacs-unicode.

> (This started with wanting to edit Windows registry dumps, which are
> utf-16.)

If they have common name or extension, we can add it in
file-coding-system-alist.  Do they?

---
Ken'ichi HANDA
address@hidden




reply via email to

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