[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \201 chars showing up in buffer when using emacs from mutt
From: |
Peter Dyballa |
Subject: |
Re: \201 chars showing up in buffer when using emacs from mutt |
Date: |
Fri, 25 Mar 2005 02:12:27 +0100 |
Am 24.03.2005 um 13:14 schrieb <Dirk-Jan.Binnema@nokia.com>:
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.