[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about xhtml-mode encoding problem
From: |
Peter Dyballa |
Subject: |
Re: about xhtml-mode encoding problem |
Date: |
Mon, 9 Jul 2007 17:31:51 +0200 |
Am 09.07.2007 um 16:44 schrieb lu:
I want to know How to solve this problem.
You might try to use (file) local variables in the first line(s) of
the file that are a valid XHTML comment:
<comment string> -*- coding: sjis;
or insert a
(prefer-coding-system 'sjis)
into your ~/.emacs file. More elaborate would be (not sure whether it
works)
(modify-coding-system-alist 'file "\\.xhtml\\'" 'sjis)
or, which works for me with different values:
(add-to-list 'file-coding-system-alist '("\\.xhtml\\'" . sjis))
--
Greetings
Pete
"A mathematician is a machine that turns coffee into theorems."
- about xhtml-mode encoding problem, address@hidden, 2007/07/09
- Re: about xhtml-mode encoding problem,
Peter Dyballa <=
- Re: about xhtml-mode encoding problem, address@hidden, 2007/07/09
- Re: about xhtml-mode encoding problem, Lennart Borgman (gmail), 2007/07/09
- Re: about xhtml-mode encoding problem, Peter Dyballa, 2007/07/09
- Re: about xhtml-mode encoding problem, address@hidden, 2007/07/09
- Re: about nxhtml-mode encoding problem, address@hidden, 2007/07/09
- Re: about nxhtml-mode encoding problem, address@hidden, 2007/07/11
- Re: about nxhtml-mode encoding problem, Lennart Borgman (gmail), 2007/07/11
- Re: about nxhtml-mode encoding problem, address@hidden, 2007/07/11
- Re: about nxhtml-mode encoding problem, address@hidden, 2007/07/12
Re: about xhtml-mode encoding problem, 呂 克, 2007/07/09