From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab 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 17:47:27 +0200 Message-ID: References: <20090807085054.036E61BF28D@ws1-10.us4.outblaze.com> <837hxemr9h.fsf@gnu.org> <831vnmmoe3.fsf@gnu.org> <83zlaal3xs.fsf@gnu.org> Reply-To: Andreas Schwab , 4047@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249747706 326 80.91.229.12 (8 Aug 2009 16:08:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2009 16:08:26 +0000 (UTC) Cc: 4047@emacsbugs.donarmstrong.com, bogossian@mail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 08 18:08:18 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 1MZoSv-0004R5-SU for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 18:08:18 +0200 Original-Received: from localhost ([127.0.0.1]:58321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZoSv-0000cF-Ce for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 12:08:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZoRc-00081n-C9 for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 12:06:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZoRX-0007xW-Ih for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 12:06:55 -0400 Original-Received: from [199.232.76.173] (port=58720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZoRX-0007xA-6S for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 12:06:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50342) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZoRW-0005ir-Fc for bug-gnu-emacs@gnu.org; Sat, 08 Aug 2009 12:06:50 -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 n78G6mmf018840; Sat, 8 Aug 2009 09:06:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n78Ft5Uv016757; Sat, 8 Aug 2009 08:55:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Andreas Schwab Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 08 Aug 2009 15:55: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.124974645316158 (code B ref 4047); Sat, 08 Aug 2009 15:55:04 +0000 Original-Received: (at 4047) by emacsbugs.donarmstrong.com; 8 Aug 2009 15:47:33 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n78FlVMS016154 for <4047@emacsbugs.donarmstrong.com>; Sat, 8 Aug 2009 08:47:32 -0700 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 972131C0011C; Sat, 8 Aug 2009 17:47:29 +0200 (CEST) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 872F590280; Sat, 8 Aug 2009 17:47:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id Vyq8rcBXC8+y; Sat, 8 Aug 2009 17:47:28 +0200 (CEST) Original-Received: from igel.home (DSL01.83.171.176.2.ip-pool.NEFkom.net [83.171.176.2]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 8 Aug 2009 17:47:28 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 050D110C0D1; Sat, 8 Aug 2009 17:47:27 +0200 (CEST) X-Yow: I feel like a wet parking meter on Darvon! In-Reply-To: <83zlaal3xs.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Aug 2009 18:29:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 08 Aug 2009 12:06: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:29998 Archived-At: Eli Zaretskii writes: > If encode_coding_string would leave unibyte strings alone It does if coding-system-for-write is nil. >> IMHO call-process should not use coding-system-for-write for >> encoding the command line > > But if some of the command-line arguments are file names, say, we do > need to encode them, don't we? coding-system-for-write is meant to override the coding system for write operations, but IMHO the coding system for file names is in a different category. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."