[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] Re: iso-8859-2 - probelm
From: |
Andrew Arensburger |
Subject: |
Re: [Koha-devel] Re: iso-8859-2 - probelm |
Date: |
Sun Jan 19 18:22:02 2003 |
User-agent: |
Mutt/1.2.5.1i |
[Rearranged to put original and reply in the correct order]
On Mon, Jan 20, 2003 at 03:01:17AM +0100, Benedykt P. Barszcz wrote:
> From: "Andrew Arensburger" <address@hidden>
> > On Mon, Jan 20, 2003 at 01:10:25AM +0100, Benedykt P. Barszcz wrote:
> > > I don't know how to force an iso-8859-2 charset in editors on a UTF-8
> > > aware
> > > redhat system !!!
> >
> > Presumably with:
> >
> > M-: (setq buffer-file-coding-system 'iso-8859-2)
> And this line should be where? in what file?
In Emacs, type
<esc>
:
(setq buffer-file-coding-system 'iso-8859-2)
<return>
You could also put this in ~/.emacs , but it would depend on where you
wanted to use iso-8859-2. If you wanted to do it for all HTML files,
add
(add-hook 'html-mode-hook
(lambda nil
(setq buffer-file-coding-system 'iso-8859-2)))
to ~/.emacs . If you wanted to use iso-8859-2 everywhere by default,
I'd use
(add-hook 'view-mode-hook
(lambda nil
(setq buffer-file-coding-system 'iso-8859-2)))
someplace near the top of ~/.emacs , before it gets overwritten by
other customization hooks.
--
Andrew Arensburger This message *does* represent the
address@hidden views of ooblick.com
"I use emacs, which might be thought of as a thermonuclear word processor."
-- Neal Stephenson, "In the Beginning Was the Command Line"