all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: shell-quote-argument and multibyte
Date: Thu, 17 Apr 2003 21:35:47 +0200	[thread overview]
Message-ID: <8465pc7w8c.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: m31y019qm8.fsf@cicero.benny.turtle-trading.net

Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes:

> That does mean that, to do the right thing, I will currently have to
> encode the file names myself, right?

I have the nagging feeling that there might be problems with this.
Are there encodings that use ESC as a special character?  I think so.

Now, suppose you have a string x which is a filename.  Then you
encode that string into the corresponding filename encoding, which
just happens to be an encoding which uses ESC.  And then you pass the
whole shebang to shell-quote-argument which will then happily escape
the ESC for you.

I'm not sure that this is the desired result.
-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

  reply	other threads:[~2003-04-17 19:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-13 20:28 shell-quote-argument and multibyte Lars Hansen
2003-04-13 21:57 ` Benjamin Riefenstahl
2003-04-13 22:02 ` Benjamin Riefenstahl
2003-04-15 13:16   ` Kenichi Handa
2003-04-15 17:52     ` Lars Hansen
2003-04-16  2:00       ` Kenichi Handa
2003-04-16  6:16         ` Lars Hansen
2003-04-16  6:28           ` Kenichi Handa
2003-04-17 13:54     ` Benjamin Riefenstahl
2003-04-17 19:35       ` Kai Großjohann [this message]
2003-04-18 12:14         ` Benjamin Riefenstahl
2003-04-18 15:35           ` Kai Großjohann
  -- strict thread matches above, loose matches on Subject: below --
2003-05-11 17:51 Lars Hansen

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

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

  git send-email \
    --in-reply-to=8465pc7w8c.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.