delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/12/02/22:41:56

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6853A385843A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1670038870;
bh=IvJUPnc4Qd0kitn6NTwr8lQj16fSE2KESWgM0osZBCo=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=FGGkOEQcu5d112KmssHRjMiJu1Bx53auq8+O0bt7iDFaDg09f9L0wyKEOCXgX5M20
jE3xzPV7uwt4zsKp8Qs/jz3VBMSz9CYwSueWisSlrRqLNuaVcnKMVNoxgDLFz6RB2p
iSLMnMhRn+WuidAVQq84byzfK1WNn2mgskDLlFk8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E553A3858CDA
Date: Fri, 2 Dec 2022 19:40:30 -0800
To: cygwin AT cygwin DOT com
Subject: Re: [BUG core?] Regression =?utf-8?Q?with_?=
=?utf-8?Q?parsing_Windows=E2=80=99?= command-line
Message-ID: <20221203034030.a6ghnwcze4rkqeap@math.berkeley.edu>
References: <20221116124824 DOT zzobomcsmowvjtbr AT math DOT berkeley DOT edu>
MIME-Version: 1.0
In-Reply-To: <20221116124824.zzobomcsmowvjtbr@math.berkeley.edu>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY,
SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ilya Zakharevich via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ilya Zakharevich <nospam-abuse AT ilyaz DOT org>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 2B33fbTk029842

On Wed, Nov 16, 2022 at 04:48:25AM -0800, I wrote:
> De-quoting (converting the Windows’ command-line into argc/argv) does
> not remove double quotes if characters not fit for 8-bit (?) are present.
> 
> 	Broken in: CYGWIN_NT-6.1     Bu 3.3.4(0.341/5/3) 2022-01-31 19:35 x86_64 Cygwin
> 	Works  in: CYGWIN_NT-6.1-WOW Bu 2.2.1(0.289/5/3) 2015-08-20 11:40 i686   Cygwin
> 
> To reproduce, do in CMD’s command line:
> 
>   D:\> D:\Programs\cygwin2022\bin\perl -wle "print for @ARGV" . "/i/" "/и/" .
>   .
>   /i/
>   "/и/"
>   .

I triple-checked
  • with a Win10 machine (and a version of cygwin given above),
  • with a fresh latest(=test)-cygwin-dll installation on a Win7 (as above) machine. 

Same bug everywhere.

> Likewise for other characters which do not fit into 8-bits.  (I have a
> TrueType font enabled in a console.)
> 
>   (If you do not know how to type this, just copy-and paste it into a
>    console with CMD.)

Ilya

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

- Raw text -


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