[Top][All Lists]

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

[h-e-w] RE: Working with 16 bit ascii text files?

From: Raymond Zeitler
Subject: [h-e-w] RE: Working with 16 bit ascii text files?
Date: Fri, 31 Mar 2006 17:43:20 -0500

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:address@hidden 
Sent: Friday, March 31, 2006 4:59 PM
To: Raymond Zeitler
Cc: address@hidden
Subject: Re: [h-e-w] Working with 16 bit ascii text files?

"Raymond Zeitler" <address@hidden> 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

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