Quotes around command-line argument that has unicode characters are not removed
Kaz Kylheku
920-082-4242@kylheku.com
Sun Mar 25 00:04:00 GMT 2018
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
More information about the Cygwin
mailing list