all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Opening file in UTF-8  mode automatically
@ 2007-11-24 16:38 spamfilteraccount
  2007-11-24 18:26 ` Peter Dyballa
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: spamfilteraccount @ 2007-11-24 16:38 UTC (permalink / raw)
  To: help-gnu-emacs

I need to edit some UTF-8 files and it's very annoying emacs doesn't
detect it automatically (I have to reopen them as utf-8 manually) and
sometimes I notice it only after I already edited and saved the file
which messes up the formatting.

I tried prefer-coding-system utf-8, but it didn't help.

I can't put lisp code into the files, because they are data files.

Is there a definitive way to do it? The BOM is at the beginning of the
files, so Emacs could detect it automatically.

It's emacs 22.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2007-11-28  6:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-24 16:38 Opening file in UTF-8 mode automatically spamfilteraccount
2007-11-24 18:26 ` Peter Dyballa
2007-11-24 20:09   ` Eli Zaretskii
2007-11-24 18:38 ` Reiner Steib
2007-11-25  5:49   ` spamfilteraccount
2007-11-25 11:33     ` Reiner Steib
2007-11-27  7:12       ` spamfilteraccount
2007-11-24 20:07 ` Eli Zaretskii
     [not found] ` <mailman.4039.1195934839.18990.help-gnu-emacs@gnu.org>
2007-11-25  5:51   ` spamfilteraccount
2007-11-25 20:59     ` Eli Zaretskii
     [not found]     ` <mailman.4082.1196024377.18990.help-gnu-emacs@gnu.org>
2007-11-27  7:14       ` spamfilteraccount
2007-11-27  7:30         ` Zhang Wei
2007-11-27 17:41           ` Reiner Steib
2007-11-27 21:47           ` Eli Zaretskii
     [not found]           ` <mailman.4200.1196200033.18990.help-gnu-emacs@gnu.org>
2007-11-28  6:54             ` spamfilteraccount
2007-11-27 21:48         ` Eli Zaretskii
2007-11-25 22:49 ` Xah Lee
2007-11-27  7:15   ` spamfilteraccount

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.