Unconsistent command-line parsing in case of UTF-8 quoted arguments

Doug Henderson djndnbvg@gmail.com
Sat Oct 3 02:22:04 GMT 2020


On Fri, 2 Oct 2020 at 15:41, Jérôme Froissart <> wrote:
>
> By discussing a merge request on another project [1], I think
> billziss-gh found a weirdness in the way Cygwin parses the command
> line arguments when non-ASCII characters come into play.
>
> EXPECTED BEHAVIOUR:
> cygwin should parse the following command line
>     binary.exe --non-ascii "charaçtérs" --ascii "nothing-fancy-here"

Please show us the output from "uname -a" and "locale" run from the bash prompt.

Tell is more about "binary.exe". Is it compiled for cygwon with gcc,
for windows with mingw64 or windows with a native tool chain. Also are
you running it from a bash prompt or a cmd.exe prompt?

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com


More information about the Cygwin mailing list