So what coding system variable do I need to change so that my saved
files can be read in prteey RMAIL mode but do not have ascii chars >
127 escaped out?
Thanks in advance.
-- Scott
> So what coding system variable do I need
windows-1250, windows-1251, windows-1252
--
Greetings
Pete
A blizzard is when it snows sideways.
-- Scott
(prefer-coding-system 'windows-1252)
(prefer-coding-system 'utf-8)
This makes sure utf-8 is top pick, and windowsw-1252 is second.
You'd think that, when emacs encounters these \205s, it would KNOW to
pick windows-1252. But it doesn't. Is there no way to AUTOMATE
emacs' pick of coding system?
-- Scott
> You'd think that, when emacs encounters these \205s, it would KNOW to
> pick windows-1252. But it doesn't. Is there no way to AUTOMATE
> emacs' pick of coding system?
It's possible to use (file) local variables. In the file's header,
first line I think, something like
;; -*- mode: Emacs-Lisp; coding: utf-8; -*-
or at the file's end
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% coding: utf-8-unix
%%% TeX-command-default: "XeLaTeX"
%%% End:
you can set a few parameters of operation. Depending on which file
type(s) is easier to manipulate by these means you can leave out one
encoding preference. Something like this might also work (I think I
once had this active):
;;(setq file-coding-system-alist
;; (append
;; '(("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix))
;; file-coding-system-alist))
;(modify-coding-system-alist 'file "\\.tex\\'" 'iso-latin-9-unix)
Or you can decide to reduce the number of encodings you use.
Sometimes less pluralism can be more.
--
Greetings
Pete
Know thyself. Need help, call GOOGLE.