Thanks.  But Ispell returned 1 when I tried that, and the file
did not load.

Actually Emacs 22 interpreted the file quite nicely.  Maybe it's
time to upgrade, although I need to redo my .emacs.


-----Original Message-----
From: Jason Rumney [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 4:59 PM
To: Raymond Zeitler
Cc: [email protected]
Subject: Re: [h-e-w] Working with 16 bit ascii text files?

"Raymond Zeitler" <[EMAIL PROTECTED]> writes:

> But aren't these files using some sort of 16 bit character set?

It looks like some variation of utf-16 from your description. There
has been reluctance in the past from some Emacs developers to give the
Unicode encodings a higher priority so they are detected
automatically. This has recently been overcome for utf-16, so the
current CVS code should detect this file correctly.

> Shouldn't Emacs handle this better?  I've never been able to find an
> appropriate character set for C-x <RET> f.  For example, manually
> choosing any of the mule-utf-16 sets changes nothing.

You should use C-x <RET> c before opening the file. C-x <RET> f only
changes the encoding that Emacs will use to save the current buffer's
contents. It does not change anything that has already been read in,
nor does it affect any future reading of files.


Reply via email to