delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/22/18:21:26

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:subject:to:references:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=lWOI3n061JY2AQZ7
FAnHoucbe5uNUYLHf1Z1S8A6/92eLJShTXE8DAUmdFUqU8tDzc8h9PUEJYycPetB
BpyM2mjvhPWNsdhsN1VLNZzjrldf805fLzQcwrko5tD0csOeLso6ghUdxg14IiCH
nj0o9XN+VCT0TdI2HPeyeFDjmTQ=
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:subject:to:references:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=1zF6DZ8lQZxmM0atY5eleo
RIV/M=; b=dNGfDaFhA9nyvZdXtzX3ZLXn8yIMBGnqQJGf2NklpFnLwHd8Qq93J7
MaHLBue31YS7VPL9YwnRYv28adpaX6w9ZFV8hTBBlfvzO4RTYU8D4UvYNSfsMYJN
cZo0PxJobwOVeVZIdc+/IAKDfudfGruBTvmj4J+WEylBADilm7DKk=
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: No, score=1.8 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=UD:mail.ru, kaz, Kylheku, Kaz
X-HELO: smtp34.i.mail.ru
Subject: Re: Quotes around command-line argument that has unicode characters are not removed
To: cygwin AT cygwin DOT com
References: <08d9621d-b9a0-c0d7-b58b-581ab957a08c AT mail DOT ru> <1547310513 DOT 20180322142446 AT yandex DOT ru> <a2f8e7e7dc6da9d4a38e3ea24269b185 AT mail DOT kylheku DOT com>
From: "Dmitry Katsubo via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Dmitry Katsubo <dma_k AT mail DOT ru>
Message-ID: <872a7a6d-1c32-b7f2-e4ae-ce49a98bcabf@mail.ru>
Date: Thu, 22 Mar 2018 23:21:09 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <a2f8e7e7dc6da9d4a38e3ea24269b185@mail.kylheku.com>
Authentication-Results: smtp34.i.mail.ru; auth=pass smtp.auth=dma_k AT mail DOT ru smtp.mailfrom=dma_k AT mail DOT ru
X-7FA49CB5: 0D63561A33F958A515A4DFAE5A7A4BB856EC5B356962B7F644F1E92491A5278A725E5C173C3A84C3C74813BC7F81EC8460953D4EBEC5C5576D8C47C27EEC5E9FB5C8C57E37DE458B4C7702A67D5C3316FA3894348FB808DBCF17F1EDFBC1FB573B503F486389A921A5CC5B56E945C8DA
X-Mailru-Sender: 6DAAA20F2058E07D134D6D8D77B89E7F93DBF40F5840ED94DA60F14C64DD6DB893919BC5FB8A4F5A501E7C294F69090ED50E20E2BC48EF5AE609D43F356B221EEAB4BC95F72C04283CDA0F3B3F5B9367
X-IsSubscribed: yes
Note-from-DJ: This may be spam

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

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

-- 
With best regards,
Dmitry

--
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