X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 185B7385780A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net Subject: Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments To: cygwin AT cygwin DOT com References: <634821436 DOT 20201004141809 AT yandex DOT ru> From: Thomas Wolff X-Tagtoolbar-Keys: D20201007071730162 Message-ID: Date: Wed, 7 Oct 2020 07:17:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K1:sFUhYkqysP4BAkiI5fQalFeLyJjOrPyS2ufrns9WlpEPM9B/VW4 S9U1tRACcZcCUeiQolPAOH+hp0wd6h7LELfF/v2vXh+TwLd/T47OwsWz/gipbC0f1NgJTI+ FMDkfCGZYLm+xMFuUhVGRptrzb5y8J3Zz+wrCSpp9jOOb0LjZQKUs/Wc6KtbN42jP7kjO+d JwVY285sgxLpB1orDsfOw== X-UI-Out-Filterresults: notjunk:1;V03:K0:od+jeeQgucU=:zXVFiEThw4OoUEdVV73nB9 cqMKAd9ToMtJ7+yLwoNMy/w++AlVTAth/qaEgmo2y7dSNTbKMMmTiC+Aw6mQTHpr8hnlJ9AEo AET+AiLyUEXf5kYdggeizYulQdeNiZS6kIq+esYbJV0JNTzHwOL3HsYLwO0iu9UzMWD7h8x/Q XvIyoAkcIAiC03Ugt9rPbD2Lai5kMladoaIHHiMgs4HD+CHmRlsyLhIUjYCRaKOxqErbRlVrw GmJPkwikghcfVxPdTDBgek0g65gh+9FYRXjgAhNyGjJ30DRLXB42TCGWuGqnHmbou6UhIzXTt rw6haaopCKtIkiJziyQSFw2pMeV039/K/QFwH3t++ncM/sJc/Q2oKRHSp6ga/9ahDQtgYTSEB CVYp6hpsyoSPIBkBh4C/vTEFuQ9lZNhjKhVNQTXilsXtZqlD9pPD5aoWfThO63q1IWuMSRlX8 0E5jqwf56GqAlOa/M2UG+d3E9vt+4SGPbT33Gr3kbfXmMJNEt171LadGcV8JW9f/rgEaiaaRs xoqy/Tt+DydOP1EVdJdbhBkJSsVF+O5n4OVGa7aC5RM4vcX4pwpUgM3JNnYwM7rK7s2Bd6OYO jD+NorpyAa1DJUCJzdYAQ7o8FuxSVTiKrN2nOoNBS60Fy4tns22w3NWi9Y2WpeJ0NepkVvC3c IB42qT0iWGSYd9lHbyIetA76jk2ghbjbMJgKa8KVM1oRpqMUKNkNAqxccaxIF4rWl0jspjtdv Bd/1s/VJPPEwVfb7cDUWSIfgrShit8xzBLeB56RwB2xUSZFTJk7XNh0+fc31WMax7JD9349/L KAZ1NwoegXsq/SQoo2l5UtmBC404wUcKN0DJv3HiAsmCQWV/r6K0KX8fL4iVU7UOyQH7z4q X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0975I1Xs020768 Am 06.10.2020 um 23:36 schrieb Jérôme Froissart: > Thanks for your replies. > This issue only happens when a program is run from cmd.exe, not from a > Cygwin bash shell. > This is important for me, since I discovered this bug in a project > that must be run from Windows graphical shell (i.e. there is no > sensible way to run it through Cygwin and Bash). > >> Please show us the output from "uname -a" and "locale" run from the bash prompt. > Running it from the same Cygwin bash prompt works as expected > $ uname -a > CYGWIN_NT-10.0 XPS 3.1.5(0.340/5/3) 2020-06-01 08:59 x86_64 Cygwin Please update to cygwin 3.1.7; there were issues about command line quoting before, I'm not sure whether there was a tweak since 3.1.5 already. -- 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