[BUG core?] Regression with parsing Windows’ command-line
Ilya Zakharevich
nospam-abuse@ilyaz.org
Sat Dec 3 03:40:30 GMT 2022
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
More information about the Cygwin
mailing list