delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/24/20:02:01

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:in-reply-to:references
:message-id; q=dns; s=default; b=epdEhOl2VoQDAJIeg8rS6j0MOk4DpJI
qaDa6boghzEOancYCOzFLPhv3eyX2aDHnOCZnkGuLMyyLQYsQUMQ4mNKbIuOeRJg
Dqf1g+L5sHRFZ1akC9r5N91GPIHWQMiK4GepdgZtCpgdT0vfCXdpXBXtMwNfLCKR
SHSM+R6So8gs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:mime-version:content-type
:content-transfer-encoding:date:from:in-reply-to:references
:message-id; s=default; bh=5cNvqVFI63nlg9MpasHnIblcXkM=; b=G6yrX
UJs6GgD0FnWAcRnXTaIIECTNmbbRtOggW+QcRHLmgNL8dA8h+ZtE4ULYs3FW/RcJ
ENomweeLS4K9CA5tk0mPYOd+nI2MF0LM76yz1EzlPBRMt1C0ia7yaUTBfnj4GodS
PPjisL0yWrWp4+cV83lexuSqAjCKTLBkttB1qI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=2.1 required=5.0 tests=BAYES_00,BODY_8BITS,FROM_STARTS_WITH_NUMS,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy==d0=b5=d0=ba=d1, Quotes, picked, Hx-spam-relays-external:ESMTPA?=
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.3 cv=X6B81lbe c=1 sm=1 tr=0 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=v2DPQv5-lfwA:10 a=2KUf1mbJAAAA:8 a=lna0FgviJUux61u781YA:9 a=QEXdDO2ut3YA:10 a=LME9DoRMzU6P72L8X6EC:22
To: cygwin AT cygwin DOT com
Subject: Re: Quotes around command-line argument that has unicode characters are not removed
X-PHP-Originating-Script: 501:rcmail.php
MIME-Version: 1.0
Date: Sat, 24 Mar 2018 17:00:23 -0700
From: Kaz Kylheku <920-082-4242 AT kylheku DOT com>
In-Reply-To: <872a7a6d-1c32-b7f2-e4ae-ce49a98bcabf@mail.ru>
References: <08d9621d-b9a0-c0d7-b58b-581ab957a08c AT mail DOT ru> <1547310513 DOT 20180322142446 AT yandex DOT ru> <a2f8e7e7dc6da9d4a38e3ea24269b185 AT mail DOT kylheku DOT com> <872a7a6d-1c32-b7f2-e4ae-ce49a98bcabf AT mail DOT ru>
Message-ID: <765ef482f4b0a583aeca60586e7e084c@mail.kylheku.com>
X-Sender: 920-082-4242 AT kylheku DOT com
User-Agent: Roundcube Webmail/0.9.2
X-CMAE-Envelope: MS4wfGDtU1se9Bue/bwhBcdmniwlc4JSQgit+GHWaZy4FWDhZdHxdJ7hXgdZogtP9q178cODFTt5GG0WBLubYlSBAmU7O3sCCwtc4xPKSTESNVOXD1tBFOeA Xn+qnAaHUL0qJ7AFiBd6tQdsKP/vxWlPdRku1ngkMczmGtHFkqV807nZ
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 2018-03-22 15:21, Dmitry Katsubo via cygwin wrote:
> On 2018-03-22 18:10, Kaz Kylheku wrote:
>> That may be so, yet there may be an issue here for someone packaging
>> Cygwin programs for use as native Windows applications.
>> 
>> That is to say, there could potentially be something here that the 
>> Cygnal
>> project could address:
>> 
>> http://www.kylheku.com/cygnal/
>> 
>> Cygnal is an ultra-light fork of the Cygwin DLL that is intended for 
>> users,
>> who run Cygwin programs out of the Windows environment directly, after 
>> building them in Cygwin.
> 
> Thanks for the hint. I confirm that just substituting cygwin1.dll makes
> the test working:
> 
> D:\cli> test "текст плюс.txt"
> param 0 = test
> param 1 = текст плюс.txt
> File 'текст плюс.txt' was opened

Well, that seems like a miracle, because in Cygnal, I don't remember 
doing anything
to the processing of the command line or initial locale.

> I was not able to find any relevant difference in dcrt0.cc, but perhaps 
> the
> difference is in initial setting of locale (Cygnal initialization).

Could be some Cygwin issue caused by newer commit that isn't picked up 
in Cygnal;
i.e "red herring".

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019