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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=Wp5zFcXl71iEs+ovuPTk8NeVacd0bUQzeeYSXpsJwmY
	90HTYRfbdI3koeLPPE2BUx5yYrb1WjXR0ONYx0Ag7wYzkxKxbH/xFY59Dbauo6A6
	TBGDLLsMXRswh8Sn448AOJrsrF0+PZHveJFcMq4BEypDaspcS8AWaJG7reCSpX5U
	=
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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=vj/Ntr1QODIW6MlwpyY9kr3WmOY=; b=ckqOQy8js8QRcpWjm
	NOAUKVNIZ9QqV/WlzvECFTQkgNWSgyM+Ti2zCSSmcBeqvAOdNWqXtGgqGr7HIV2j
	mktbfNvhcRSPKXHtxE8nBkMr5kyC7jjm4ixvBvwgyBzY3hQiC/Yid8miPGUqLROl
	1tXc91r5JUPqqc8g5SO0bOd9I0=
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-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=UD:jp, D*jp, serial, behave
X-HELO: conssluserg-01.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com w6RAF41Z016520
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;	s=dec2015msa; t=1532686505;	bh=xH64ZYov2ycxWnvFQ++colCptudtrSucduwWy+EbNG4=;	h=Date:From:To:Subject:In-Reply-To:References:From;	b=RqjsFM3cfS/aJmPdSL4YbTio2T5q8gcFvy7dqF3QB/X9vQAU8OY5rzswIWy+XRhq1	 b9q8L4J2JERutfLw+H5ymUVGYeuKAuOukc6IqkwYrEwEG6Cl6ZOTWxef541NvCooNd	 b7AYRabyWI7C1V55GJksj9DC2jM3WQ2QtFDVpcdG4cHuhWz9RocFUZQzVcXSYGlz3P	 wp1lB5uBa58UpgSKaPGMXi+fA3GGeDmFBtsgUEgl508dcepc5/3f5kQkdgIhs2KJNe	 H0ua3ZwIymk40ZXXb1W9dMU2A7p/GOzo7PeL8ou37eZN+rUhQViyEfnd4Jtw3CjkHx	 TE+DdVGq7fXMg==
Date: Fri, 27 Jul 2018 19:15:09 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: cmd.exe and file name conversion from comman line argument
Message-Id: <20180727191509.57ca2f37867f0372fefc362f@nifty.ne.jp>
In-Reply-To: <OFC009BF8B.B56C9990-ON492582D7.001F2504-492582D7.0026257B@ot.olympus.co.jp>
References: <OFADDE98D4.BA910041-ON492582D7.00014612-492582D7.00053602@ot.olympus.co.jp>	<950baa09-f613-334e-7f27-b0cad8ba9d14@SystematicSw.ab.ca>	<OFC009BF8B.B56C9990-ON492582D7.001F2504-492582D7.0026257B@ot.olympus.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On Fri, 27 Jul 2018 15:56:39 +0900
> The rest may be superfluous, but just to compare with.
> Quoting Japanese characters too did not work.
> 
> c:\cygwin\home\hiroo> touch "$B$"$"$"(B"
> 
> gives
> 
> c:\cygwin\home\hiroo> ls
> '"$B$"$"$"(B"'

If you set LANG prior to touch using set instead of env,
it seems to behave as you expected.

C:\cygwin\home\yano\testdir>set LANG=ja_JP.UTF-8

C:\cygwin\home\yano\testdir>touch "$B$"$"$"(B"

C:\cygwin\home\yano\testdir>ls
$B$"$"$"(B

C:\cygwin\home\yano\testdir>dir
 Volume in drive C has no label.
 Volume Serial Number is 1E17-C0B1

 Directory of C:\cygwin\home\yano\testdir

2018/07/27  19:06    <DIR>          .
2018/07/27  19:06    <DIR>          ..
2018/07/27  19:06                 0 $B$"$"$"(B
               1 File(s)              0 bytes
               2 Dir(s)  89,141,444,608 bytes free


-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

--
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

