From: "Sébastien Kirche" <sebastien.kirche@sage.com>
Subject: Detecting BOM for UTF files
Date: Wed, 15 Oct 2003 15:55:54 +0200 [thread overview]
Message-ID: <4B3F0F1D-FF17-11D7-BEA9-000393861220@sage.com> (raw)
Hi,
I recently had to switch my .emacs to UTF-8 encoding, because I was
annoyed with proper encoding of french acccents between my home Emacs
(win + linux) and my work Emacs (Mac OS X).
I saw then that Emacs cannot recognize automagically the UTF format of
my .emacs when reloading it.
I seen that there is neither BOM (byte order mark) at the beginning,
nor adding one helps.
It was also fixed by adding
; -*- mode: emacs-lisp; coding: utf-8; -*-
at the begining.
Emacs seems to handle properly UTF files, but couldn't he "guess" their
encoding by reading BOMs ?
Sébastien Kirche
next reply other threads:[~2003-10-15 13:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 13:55 Sébastien Kirche [this message]
2003-10-15 14:23 ` Detecting BOM for UTF files Andreas Schwab
2003-10-15 14:58 ` Sébastien Kirche
2003-10-15 15:08 ` Andreas Schwab
2003-10-15 15:20 ` Benjamin Riefenstahl
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=4B3F0F1D-FF17-11D7-BEA9-000393861220@sage.com \
--to=sebastien.kirche@sage.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).