all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: "lu@luxdo.jp" <lu@luxdo.jp>
Cc: help-gnu-emacs@gnu.org
Subject: Re: about xhtml-mode encoding problem
Date: Mon, 9 Jul 2007 17:31:51 +0200	[thread overview]
Message-ID: <9CDB8EBC-92CA-4E16-89B7-A55064C94777@Web.DE> (raw)
In-Reply-To: <469249C1.7080202@luxdo.jp>


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."

  reply	other threads:[~2007-07-09 15:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09 14:44 about xhtml-mode encoding problem lu
2007-07-09 15:31 ` Peter Dyballa [this message]
2007-07-09 16:07   ` lu
2007-07-09 17:08     ` Lennart Borgman (gmail)
2007-07-09 18:00     ` Peter Dyballa
2007-07-09 23:26       ` lu
2007-07-09 23:37       ` about nxhtml-mode " lu
2007-07-11 12:47         ` lu
2007-07-11 13:18           ` Lennart Borgman (gmail)
2007-07-11 14:07             ` lu
2007-07-12 13:56             ` lu
2007-11-25 22:56               ` Lennart Borgman (gmail)
2007-11-26  4:53                 ` Ke Lu
2007-11-26  8:03                   ` Lennart Borgman (gmail)
2007-07-09 16:12   ` about xhtml-mode " 呂 克
2007-07-09 17:59     ` Lennart Borgman (gmail)
2007-07-11 14:02       ` lu
2007-07-11 14:41         ` Lennart Borgman (gmail)
     [not found]   ` <mailman.3225.1183997250.32220.help-gnu-emacs@gnu.org>
2007-07-09 16:41     ` B. T. Raven
2007-07-09 23:29       ` lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9CDB8EBC-92CA-4E16-89B7-A55064C94777@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lu@luxdo.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.