Re: Quotes around command-line argument that has unicode characters are not removed
- Date: Sat, 24 Mar 2018 17:00:23 -0700
- From: Kaz Kylheku <920-082-4242@xxxxxxxxxxx>
- Subject: Re: Quotes around command-line argument that has unicode characters are not removed
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
project could address:
Cygnal is an ultra-light fork of the Cygwin DLL that is intended for
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
to the processing of the command line or initial locale.
I was not able to find any relevant difference in dcrt0.cc, but perhaps
difference is in initial setting of locale (Cygnal initialization).
Could be some Cygwin issue caused by newer commit that isn't picked up
i.e "red herring".
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple