unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ken <gebser@speakeasy.net>
To: help-gnu-emacs@gnu.org
Subject: set UTF-8 for a file (HTML)
Date: Sat, 09 Feb 2008 20:59:56 -0500	[thread overview]
Message-ID: <47AE5A9C.5030403@speakeasy.net> (raw)


I'm editing an HTML file (in emacs, of course) and want to preserve the 
utf-8 encoding when the file is opened in subsequent sessions.  I know I 
can put a line at the top of the file which will set a variable in emacs 
whenever the file is opened.  So what should this line say to specify 
that the file is encoded in utf-8?

Thanks.

-- 
The significant problems we face cannot be solved at the
same level of thinking we were at when we created them.
	-- Albert Einstein





             reply	other threads:[~2008-02-10  1:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-10  1:59 ken [this message]
2008-02-10  9:03 ` set UTF-8 for a file (HTML) Peter Dyballa
     [not found] <mailman.7237.1202608828.18990.help-gnu-emacs@gnu.org>
2008-02-10  4:04 ` Tim X
2008-02-10  9:04 ` Harald Hanche-Olsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=47AE5A9C.5030403@speakeasy.net \
    --to=gebser@speakeasy.net \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).