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

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

Re: about nxhtml-mode encoding problem


From: Lennart Borgman (gmail)
Subject: Re: about nxhtml-mode encoding problem
Date: Wed, 11 Jul 2007 15:18:55 +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

Could you then please provide more information? (You did not answer my previous mail.)

Especially I would like to know how the xml header look.



lu@luxdo.jp wrote:
Hi,

I sovle the nxhtml encoding problem by add the following code.

;; Fix nhxtml save bug(error encoding)
(add-hook 'before-save-hook
         (lambda ()
             (setq coding-system-for-write buffer-file-coding-system)))

I think it is a bug in nxhtml.

lu@luxdo.jp wrote:
I'm very sorry,I made a mistake.
The problem is only on *nxhtml-mode*.
so The title is confusing.I correct it.

Peter Dyballa wrote:

Am 09.07.2007 um 18:07 schrieb lu:

But I'm sorry to say all of them doesn't work.
when I save the file it become utf-8.

What is the definition of file-coding-system-alist before you try to save the buffer? Have you checked that your file does not contain characters outside the allowed ascii, katakana-jisx0201, and japanese-jisx0208 sets? What happens when you open the file in sjis, i.e. C-x RET c sjis RET C-x C-f <your file name>? Do you see strange or inappropriate glyphs?

--
Greetings

  Pete

Atheism is a non prophet organization.






_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

lu@luxdo.jp wrote:
I use xhtml-mode to edit jsp file which is encoded by sjis.
while I save the file it become utf-8 even when I (Coding system for
saving file (default nil): sjis
I want to know How to solve this problem.


_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs



_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs





reply via email to

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