From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
To: cygwin@cygwin.com
Subject: Re: [BUG core?] Regression with parsing Windows’ command-line
Date: Fri, 2 Dec 2022 19:40:30 -0800 [thread overview]
Message-ID: <20221203034030.a6ghnwcze4rkqeap@math.berkeley.edu> (raw)
In-Reply-To: <20221116124824.zzobomcsmowvjtbr@math.berkeley.edu>
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
next prev parent reply other threads:[~2022-12-03 3:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 12:48 Ilya Zakharevich
2022-12-03 3:40 ` Ilya Zakharevich [this message]
2022-12-03 10:28 ` Takashi Yano
2022-12-03 13:42 ` Takashi Yano
2022-12-03 15:29 ` Corinna Vinschen
2022-12-03 15:24 ` Corinna Vinschen
2022-12-03 15:39 ` Corinna Vinschen
-- strict thread matches above, loose matches on Subject: below --
2022-11-15 5:58 Ilya Zakharevich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221203034030.a6ghnwcze4rkqeap@math.berkeley.edu \
--to=nospam-abuse@ilyaz.org \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).