help-emacs-windows
[Top][All Lists]
Advanced

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

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


From: Jason Rumney
Subject: Re: [h-e-w] Working with 16 bit ascii text files?
Date: Fri, 31 Mar 2006 22:58:46 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

"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]