X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3AB83943415 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1601691739; bh=oqm/CfGWSXpWB7Snvxv+NkzCx+Zytw49KvZxIqZ4Nus=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=VcjgAivauzEAfyvirRDJTOcPAfuxlB01WDbg7K9BN+Y/+uwyP1e36hVTfFs3ekgQM g0zxMRZ+DkXcaw8s2HvoouTXdGLgVrEVfyR4vhAwtY63yd2omNoYcj7A2y1tRXNEHE 8Oy8Ew9svR4OAU6bwDGqCZLdILIxD5khUVawuvQU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7E7B83941C07 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=ssbFrq4BHjpFOYv5OEn8sQTVBLqwa4fde1/iBHhZHzY=; b=Z7CtprnF7/xbWcb6Cq4rdBRMVJL9GtsaibuBrKsioqbEEB/BFHhHCoQ/qLRRoZjHOC kbbINnP+wW10n/wk7cjudcvltW5HdrGs/sfx/CLlqk+l68k3mbPp0DMGtjyzmtJZFnkO xHy83xLcOPBW10MZXvZIpGJsTxWZ7/NbvTze3JOb9UfuoUOj/OYxENuo1MZ52WNcvSgi 5e/aErMEsurjqr8Q7mvd0Uc7EPp/MTwtV1tOFtfxtXinhjgQmbCEFvAF8rnEOfl0ndWu 0NL/zZDdJrMGyY32vW9F01gf+vH837+SDOFygW1TV1gsRGHjVpA9p8NG8Y6R3sSWoM5t ElLQ== X-Gm-Message-State: AOAM533lKbViC8nHCsrITer8hTKsMXzEn9DXgWTZ1fw1RYfsh/17gAKs jW14XUsalLsMgF8w8cSCuyvn6YO22TcWxNjzrGTALQzP X-Google-Smtp-Source: ABdhPJyjkYmSX00UXUTEcdL+y4QPADw5TC2GtFtiBPNSjMJ8sZGDYBnoWa1z0hs1KBROayEva4EGRrXEWj6wDOKp9m8= X-Received: by 2002:a92:8404:: with SMTP id l4mr1416739ild.134.1601691735677; Fri, 02 Oct 2020 19:22:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 2 Oct 2020 20:22:04 -0600 Message-ID: Subject: Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments To: cygwin X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Doug Henderson via Cygwin Reply-To: Doug Henderson Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0932MnsV001808 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 -- 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