From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: utf-16le vs utf-16-le Date: Wed, 16 Apr 2008 09:12:49 +0100 Message-ID: <4805B501.6010909@gnu.org> References: <20080414070214.GA3956@www.trapp.net> <20080415073824.GA8466@www.trapp.net> <877iez3s7i.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208333687 32653 80.91.229.12 (16 Apr 2008 08:14:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2008 08:14:47 +0000 (UTC) Cc: Juri Linkov , tomas@tuxteam.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 16 10:15:04 2008 connect(): Connection refused 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 1Jm2nG-0007yF-Cx for ged-emacs-devel@m.gmane.org; Wed, 16 Apr 2008 10:15:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jm2mb-0006Xe-Jw for ged-emacs-devel@m.gmane.org; Wed, 16 Apr 2008 04:14:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jm2lk-00063G-Ja for emacs-devel@gnu.org; Wed, 16 Apr 2008 04:13:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jm2lh-0005zy-Ca for emacs-devel@gnu.org; Wed, 16 Apr 2008 04:13:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jm2lg-0005zf-Kf for emacs-devel@gnu.org; Wed, 16 Apr 2008 04:13:25 -0400 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com ([212.74.114.4]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jm2lb-0002Rk-Pn; Wed, 16 Apr 2008 04:13:20 -0400 Original-X-Trace: 7848703/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAGNSBUhTQxds/2dsb2JhbACBYKxS X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 16 Apr 2008 09:13:11 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id AE54E14F1; Wed, 16 Apr 2008 09:13:12 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95338 Archived-At: Eli Zaretskii wrote: > Emacs behaves correctly IMO, since its behavior is tuned for reading > text, and BOM is not part of the text. If you want to debug the > programs that generated that text, you can always use no-conversion or > find-file-literally. > But you don't know what you are debugging until Emacs (or something else) points out the unexpected BOM. Indicating the presence of a BOM isn't really any different to indicating the encoding, though a better (more noticeable) UI might be some indicator in the left fringe on the first line of the file, rather than just a change to the character in the modeline.