From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; [nxml] BOM and utf-8 Date: Sun, 18 May 2008 06:19:08 +0300 Message-ID: References: <87od75kt78.fsf@pdrechsler.de> <87mymofip6.fsf@uwakimon.sk.tsukuba.ac.jp> <878wy8ny36.fsf@catnip.gol.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1211080776 8714 80.91.229.12 (18 May 2008 03:19:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2008 03:19:36 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, stephen@xemacs.org, patrick@pdrechsler.de To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 18 05:20:12 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 1JxZRS-0003K7-RF for ged-emacs-devel@m.gmane.org; Sun, 18 May 2008 05:20:11 +0200 Original-Received: from localhost ([127.0.0.1]:60902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxZQi-0004O7-Jc for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 23:19:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxZQe-0004O2-Dx for emacs-devel@gnu.org; Sat, 17 May 2008 23:19:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxZQc-0004Nq-21 for emacs-devel@gnu.org; Sat, 17 May 2008 23:19:19 -0400 Original-Received: from [199.232.76.173] (port=55267 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxZQb-0004Nn-Ta for emacs-devel@gnu.org; Sat, 17 May 2008 23:19:17 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:43568) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxZQb-0002Qo-JV for emacs-devel@gnu.org; Sat, 17 May 2008 23:19:17 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:34751 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JxZPT-0007m9-7C for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 23:18:07 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JxZQY-0002QY-2f for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 23:19:17 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:13001) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxZQX-0002QS-OC; Sat, 17 May 2008 23:19:13 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K1100AWLOK65SD1@i_mtaout5.012.net.il>; Sun, 18 May 2008 06:33:43 +0300 (IDT) In-reply-to: <878wy8ny36.fsf@catnip.gol.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:97344 gmane.emacs.pretest.bugs:22367 Archived-At: > From: Miles Bader > Date: Sun, 18 May 2008 11:30:05 +0900 > Cc: emacs-pretest-bug@gnu.org, Patrick Drechsler > > "Stephen J. Turnbull" writes: > > > is the attached xml file (simple.xml) really invalid (as indicated by > > > nxhtml) or is this a bug in nxhtml? > > > > Neither. Emacs is (arguably) reading it incorrectly. > > By "arguably" I presume you're referring to the "Microsoft does stupid thing>, therefore everybody who doesn't do > is thing>incorrect" tactic. I'm not sure you are barking the right tree. AFAIK, Microsoft doesn't use UTF-8 at all, they use UTF-16 (where a BOM is generally necessary).