X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 To: cygwin AT cygwin DOT com Subject: Re: cmd.exe and file name conversion from comman line argument Message-Id: <20180727191509.57ca2f37867f0372fefc362f@nifty.ne.jp> In-Reply-To: References: <950baa09-f613-334e-7f27-b0cad8ba9d14 AT SystematicSw DOT ab DOT ca> 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 "あああ" > > gives > > c:\cygwin\home\hiroo> ls > '"あああ"' 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 "あああ" C:\cygwin\home\yano\testdir>ls あああ 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 . 2018/07/27 19:06 .. 2018/07/27 19:06 0 あああ 1 File(s) 0 bytes 2 Dir(s) 89,141,444,608 bytes free -- Takashi Yano -- 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