[Top][All Lists]

[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: Gecko/20070604 Thunderbird/ Mnenhy/

address@hidden 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]