From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; [nxml] BOM and utf-8 Date: Thu, 22 May 2008 08:43:34 -0600 Message-ID: References: <87od75kt78.fsf@pdrechsler.de> <87d4nk8y3q.fsf@everybody.org> <87r6bvs3jj.fsf@pdrechsler.de> <87mymjs2qw.fsf@pdrechsler.de> <87k5hnxguj.fsf@everybody.org> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211467608 28889 80.91.229.12 (22 May 2008 14:46:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2008 14:46:48 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: mah@everybody.org (Mark A. Hershberger) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 22 16:47:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JzC4W-0001Wp-1l for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 16:47:12 +0200 Original-Received: from localhost ([127.0.0.1]:55524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzC3l-0000xB-Mu for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 10:46:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzC1F-0008GO-Gg for emacs-devel@gnu.org; Thu, 22 May 2008 10:43:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzC1D-0008Fk-Mf for emacs-devel@gnu.org; Thu, 22 May 2008 10:43:48 -0400 Original-Received: from [199.232.76.173] (port=56752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzC1D-0008Fh-J6 for emacs-devel@gnu.org; Thu, 22 May 2008 10:43:47 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59894) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzC1D-00011g-8i for emacs-devel@gnu.org; Thu, 22 May 2008 10:43:47 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:48598 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JzBzs-0004wo-5i for emacs-pretest-bug@gnu.org; Thu, 22 May 2008 10:42:24 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JzC18-00010M-LN for emacs-pretest-bug@gnu.org; Thu, 22 May 2008 10:43:46 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]:39101) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzC18-00010C-Ct; Thu, 22 May 2008 10:43:42 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m4MEhbmm024494; Thu, 22 May 2008 10:43:37 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m4MEhacd008244; Thu, 22 May 2008 10:43:36 -0400 Original-Received: from opsy.redhat.com (vpn-10-4.bos.redhat.com [10.16.10.4]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m4MEhZ8e032375; Thu, 22 May 2008 10:43:36 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id D294E37815B; Thu, 22 May 2008 08:43:34 -0600 (MDT) X-Attribution: Tom In-Reply-To: <87k5hnxguj.fsf@everybody.org> (Mark A. Hershberger's message of "Wed\, 21 May 2008 21\:33\:40 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97531 gmane.emacs.pretest.bugs:22418 Archived-At: >>>>> "Mark" == Mark A Hershberger writes: Mark> However, you'll note that the spec still does not leave room for a BOM. Mark> I don't know enough about UTF-8 encoding and XML to know if this Mark> matters. Note that this is an issue not just for XML files. I recently added some code to libcpp to ignore UTF-8 BOMs -- because some Windows editors add them by default and because, supposedly, Visual Studio requires them. So, I think it would be nice for interoperability to handle them properly, the same way Emacs handles different kinds of line endings. Tom