Am 24.03.2005 um 13:14 schrieb <[EMAIL PROTECTED]>:

So does anyone have bullet proof settings such that I will never see that
dreaded \201 again? I am *almost* capabable of just removing them trough some
hook function when I start emacs, but taht seems very evil.



You have a few choices:

a) set in the file's header something like
        <comment> -*- coding: utf-8 -*-
   where <comment> is the comment character for this type of file

b) set file-coding-system-alist, auto-coding-alist -- You can customize this variable:
("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix)


c) some of these:
     (set-language-environment 'Chinese-BIG5)
     (set-default-coding-systems 'euc-jp-unix)
     (set-keyboard-coding-system 'mac-roman)
     (set-clipboard-coding-system 'sjis-mac)
     (set-terminal-coding-system 'utf-8)
     (set-file-name-coding-system 'utf-8)

d) combinations of above

--
Greetings

  Pete

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.



_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to