unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 4047@emacsbugs.donarmstrong.com, bogossian@mail.com
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	[thread overview]
Message-ID: <m2my6a71f4.fsf@igel.home> (raw)
In-Reply-To: <83zlaal3xs.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Aug 2009 18:29:19 +0300")

Eli Zaretskii <eliz@gnu.org> 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."





  reply	other threads:[~2009-08-08 15:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07  8:50 bug#4047: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark Pierre Bogossian
2009-08-08 12:20 ` Eli Zaretskii
2009-08-08 13:22   ` Eli Zaretskii
2009-08-08 14:29     ` Andreas Schwab
2009-08-08 15:29       ` Eli Zaretskii
2009-08-08 15:47         ` Andreas Schwab [this message]
2009-08-08 17:24           ` Eli Zaretskii
2009-08-08 17:57             ` Lennart Borgman
2009-08-08 15:56         ` Lennart Borgman
2009-08-08 17:25           ` Eli Zaretskii
2009-08-10 19:45       ` Stefan Monnier
2009-08-11  0:51         ` Kenichi Handa
2009-08-14  9:02           ` Eli Zaretskii
2009-08-21  9:33             ` Eli Zaretskii
2009-08-21 12:18               ` Kenichi Handa
     [not found]                 ` <83praof8mu.fsf@gnu.org>
2009-08-05 14:01                   ` Pierre Bogossian
2009-08-06 17:49                     ` Eli Zaretskii
2009-08-22 10:30                     ` bug#4047: marked as done (23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark) Emacs bug Tracking System
2009-08-27 11:15                   ` bug#4047: 23.1.1: hexl-mode doesn't like UTF8 files with a byte-order mark Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2my6a71f4.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=4047@emacsbugs.donarmstrong.com \
    --cc=bogossian@mail.com \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).