X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:subject:to:references
	:content-type; q=dns; s=default; b=MQ+kgxll8+vNuD3PzrTVG1i1L4YAl
	s/lPYlcBPNRTFCwPmIcj75eg6EzHcDhbu3tHQheHIvjM5x5PQ/hypddl1FPTgqB1
	qbT/n5Nysd89I8Nhk7AGzn7kNtZKVxXi+yg/QJ14p/7Qj8xTweYC7JmmJTMrO2y7
	KGKumtWlQt0VVE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:subject:to:references
	:content-type; s=default; bh=vBLtbAqOjiUlaYfoCkBm1u24MVw=; b=VbS
	0vu9hMfeLVoSCIN6D9HUfzncN+GEG5rVyBLYY1xWHVbCUbUzS+pTePdys8w0rmib
	89/XM70SNrmC9q1WJPVLAHKbsi3w9BYHoUQC8q3SXC+3p1d0CJhYT4sdxZJ+WUQT
	Xt2sbnRcVHcMM7vTZWaduVvHZQbDcFkByVBJHh0M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:472, H*UA:github.com, H*M:1c69fb81, H*M:google
X-HELO: mail-ot0-f193.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:message-id:date:from:subject:to:references         :user-agent;        bh=LDiwMmUHj++gKDGJnYw/vdxRcNhnARoKcKsVGlANYqA=;        b=YLYdwzKqu1/uA/M/gTyKuBJfFQ2iGB8yl9GnPGOwI1tQzawEQHseFcfW7fgP4BcEjB         DvQrI/SMIKFwnFZqev+llDDzQ2TtB5jrAxDcJQmfWimXBrhktdWiPTwxeAYmuvKiVf5G         Uv3yxmgEZNlEHRhyb19w/WDlXWQ+cc7Z/+DM1QNDV7+g2YvqWwZS/yq+lmFJG3N1EgIZ         yJrgoCfzWf6XJ/pnKGu1kCYHAXEdRq6Co9dFNG4cWKZeg7eJrTAKswOOs8jicRpRkA+s         33ABqwqpDlv/tyb7JtmOtq/EW1CSH4TqZZu2jF+0LBRqKSajvt+LDk90jI3y1P6yjHaL         mnyA==
X-Gm-Message-State: AElRT7GfHa8fEgWh1zw1Ra4i80ED2I1XoyKClgjm9nAF3OZ3Va2HtFtu	SflCuRCcwK2wArU7bv3o3kTrTQ==
X-Google-Smtp-Source: AG47ELvHLLdNx8619/4YzZ8Kh4IJt0FsfgIl2HrsYhLyfZnu1C70oCc+nqsU3YlFTGnIw3T3leRXZQ==
X-Received: by 2002:a9d:38e5:: with SMTP id k34-v6mr12405622ote.99.1521806131558;        Fri, 23 Mar 2018 04:55:31 -0700 (PDT)
Message-ID: <5ab4eb32.1c69fb81.74acd.f363@mx.google.com>
Date: Fri, 23 Mar 2018 04:55:30 -0700 (PDT)
From: Steven Penny <svnpenn@gmail.com>
X-Google-Original-From: Steven Penny
Subject: Re: Quotes around command-line argument that has unicode characters are not removed
To: cygwin@cygwin.com
References: <80cca6dd-f7a7-3dda-9c95-8bfb9e97956d@towo.net>
Content-Type: text/plain; charset=utf8; format=flowed
User-Agent: Tryst/2.4.0 (github.com/svnpenn/tryst)

On Fri, 23 Mar 2018 08:39:21, Thomas Wolff wrote:
> Due to the weird cmd.exe behaviour, you cannot. However, cygwin could 
> apply a workaround by magic unquoting.

This is correct. note that "run" has this "workaround" already via the "--quote"
option. that code could perhaps be applied in other places:

http://sourceware.org/git/gitweb.cgi?p=cygwin-apps/run.git&a=blob&f=src/run.1.in


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

