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: address@hidden
Subject: Re: about nxhtml-mode encoding problem
Date: Wed, 11 Jul 2007 23:07:07 +0900
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Hi,
There's not any xml header in my jsp,
I just  sended the screenshot  by the previous mail.

Lennart Borgman (gmail) wrote:
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.



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

address@hidden 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
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

address@hidden 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
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs



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







reply via email to

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