From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4047: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark Date: Sat, 08 Aug 2009 16:22:12 +0300 Message-ID: <831vnmmoe3.fsf@gnu.org> References: <20090807085054.036E61BF28D@ws1-10.us4.outblaze.com> <837hxemr9h.fsf@gnu.org> Reply-To: Eli Zaretskii , 4047@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1249739233 12675 80.91.229.12 (8 Aug 2009 13:47:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2009 13:47:13 +0000 (UTC) Cc: bogossian@mail.com To: 4047@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 08 15:47:06 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZmGF-0003g4-W1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 15:47:04 +0200 Original-Received: from localhost ([127.0.0.1]:56297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZmGF-00038z-F8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 09:47:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZmG8-00036U-EP for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 09:46:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZmG3-00034x-BS for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 09:46:55 -0400 Original-Received: from [199.232.76.173] (port=41081 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZmG3-00034s-8r for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 09:46:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34222) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZmG2-0007NZ-LL for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 09:46:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n78DkmNx002884; Sat, 8 Aug 2009 06:46:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n78DU47m000925; Sat, 8 Aug 2009 06:30:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 08 Aug 2009 13:30:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4047 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4047-submit@emacsbugs.donarmstrong.com id=B4047.124973774432637 (code B ref 4047); Sat, 08 Aug 2009 13:30:04 +0000 Original-Received: (at 4047) by emacsbugs.donarmstrong.com; 8 Aug 2009 13:22:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n78DMM2g032630 for <4047@emacsbugs.donarmstrong.com>; Sat, 8 Aug 2009 06:22:23 -0700 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KO2004007AJ8400@i-mtaout6.012.net.il> for 4047@emacsbugs.donarmstrong.com; Sat, 08 Aug 2009 16:22:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.151.173]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KO2009ZG7T0HIC0@i-mtaout6.012.net.il>; Sat, 08 Aug 2009 16:22:13 +0300 (IDT) In-reply-to: <837hxemr9h.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 08 Aug 2009 09:46:55 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29989 Archived-At: > Date: Sat, 08 Aug 2009 15:20:10 +0300 > From: Eli Zaretskii > Cc: 4047@emacsbugs.donarmstrong.com > > The cause of the problem is this: [...] I probably should have said explicitly that the end result of all I described is that the "-hex" command-line argument to `hexl' is encoded by utf-8-with-signature, and becomes "\357\273\277-hex", which, of course, utterly confuses `hexl'. Btw, I doubt that any encoding that uses BOM can ever be appropriate for encoding command-line arguments. Maybe we should treat them specially in call-process and its ilk.