delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/27/06:16:10

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <takashi DOT yano AT nifty DOT ne DOT jp>
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: <OFC009BF8B.B56C9990-ON492582D7.001F2504-492582D7.0026257B@ot.olympus.co.jp>
References: <OFADDE98D4 DOT BA910041-ON492582D7 DOT 00014612-492582D7 DOT 00053602 AT ot DOT olympus DOT co DOT jp> <950baa09-f613-334e-7f27-b0cad8ba9d14 AT SystematicSw DOT ab DOT ca> <OFC009BF8B DOT B56C9990-ON492582D7 DOT 001F2504-492582D7 DOT 0026257B AT ot DOT olympus DOT co DOT jp>
Mime-Version: 1.0
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 DOT yano AT nifty DOT ne DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019