Peter Dyballa
Peter_Dybal****@Web*****
Mon Nov 21 19:36:01 JST 2005
Am 21.11.2005 um 06:03 schrieb John Fieber: > On 11/18/05, Seiji Zenitani <zenit****@tkg*****> wrote: >> Hi, >> >> Are you trying to apply utf-8m to your xml files? Please note that >> utf-8m is an encoding for filenames, not for file contents. > > Yes, I understand that, but when I load an xml file and then do M-x > describe-current-coding-system, it reports that the buffer is using > utf-8m-unix. I'm trying very hard to keep Emacs from applying utf-8m > to my file content but have not yet been successful at preventing it. > Try to use either a set of file local variables at the file's end as in: %%% Local Variables: %%% mode: latex %%% coding: utf-8-unix %%% End: or put into the file's first few lines: ;;; -*- mode: XML; coding: utf-8; -*- Just use the right comment characters and the right mode names. A third approach would be like in: (setq file-coding-system-alist (append '(("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix)) file-coding-system-alist)) -- Greetings Pete <\ _\ O _ |o \ _\\_/-\=' _____________(_)|-(_) (_)___________________________________