From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Detecting BOM for UTF files Date: Wed, 15 Oct 2003 16:23:18 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <4B3F0F1D-FF17-11D7-BEA9-000393861220@sage.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1066228017 13880 80.91.224.253 (15 Oct 2003 14:26:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2003 14:26:57 +0000 (UTC) Cc: emacs-devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 15 16:26:55 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9mc3-0002ma-00 for ; Wed, 15 Oct 2003 16:26:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9mc3-0000fe-00 for ; Wed, 15 Oct 2003 16:26:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9mZL-0006Ak-Qy for emacs-devel@quimby.gnus.org; Wed, 15 Oct 2003 10:24:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9mZ8-0006Ad-V6 for emacs-devel@gnu.org; Wed, 15 Oct 2003 10:23:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9mYc-000685-6C for emacs-devel@gnu.org; Wed, 15 Oct 2003 10:23:53 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1A9mYb-000681-Na for emacs-devel@gnu.org; Wed, 15 Oct 2003 10:23:21 -0400 Original-Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 8290216FDD2A; Wed, 15 Oct 2003 16:23:20 +0200 (CEST) Original-To: =?iso-8859-1?q?S=E9bastien_Kirche?= X-Yow: After THIS, let's go to PHILADELPHIA and have TRIPLETS!! In-Reply-To: <4B3F0F1D-FF17-11D7-BEA9-000393861220@sage.com> ( =?iso-8859-1?q?S=E9bastien_Kirche's_message_of?= "Wed, 15 Oct 2003 15:55:54 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17112 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17112 Sébastien Kirche writes: > 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. ??? UTF-8 does not need a BOM, it's an 8-bit encoding. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."