emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-quote-argument and multibyte


From: Kai Großjohann
Subject: Re: shell-quote-argument and multibyte
Date: Thu, 17 Apr 2003 21:35:47 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux)

Benjamin Riefenstahl <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]