Hi Juanma,

Juanma Barranquero writes:
> Basically I want to use latin-9 for everything, but I want to be
> able to do C-x C-f my-utf-16-file and get it decoded right.

Have you tried to do something like this:

   (prefer-coding-system 'utf-16le-with-signature)
   (prefer-coding-system 'latin-9)

I.e. first put UTF-16 on the "priority list for automatic detection"
and than override it again with Latin-9 for the defaults.


benny



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to