help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about xhtml-mode encoding problem


From: Lennart Borgman (gmail)
Subject: Re: about xhtml-mode encoding problem
Date: Mon, 09 Jul 2007 19:08:05 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

lu@luxdo.jp wrote:
I added these line in my .emacs.
(modify-coding-system-alist 'file "\\.jsp\\'" 'sjis)
(add-to-list 'file-coding-system-alist '("\\.jsp\\'" . sjis))
(add-to-list 'file-coding-system-alist '("\\.xhtml\\'" . sjis))
(prefer-coding-system 'sjis)

But I'm sorry to say all of them doesn't work.
when I save the file it become utf-8.
I'm using emacs 22 on linux and windows xp.

Which one does not work?

What major modes do you use?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]