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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=ei76aGP1SlIIehH0 TYwwbQz8m9IkKd1NiPfSjQ5jCU/1m7B/AA2OIe23QBknGRU9oGFNY8wPlWBjY2NM 4WtnAbhbMQDVbF6LnvzjM3g9TsTabX4HV63U4f1a7PkfR+KhvdNTRMKgJFDZ4qOe MD46R+Cjwx1F3g8G7Y1hEwvXFTY= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=oQM5I4zAryG8tiKm1dJzh+ KJa5k=; b=Bie/Kc8gwzIYOWEGACYgmhdijgXWWgCJ0l3uVcY79Dlid946PVPAWs D+QtiHN4rXOL8VCXNMBOKPnq1fK47Jguzpm0hRFembAyFjtib9m1s535fe5Iq6lI Gtk0BXUHg21IGj94XR3/KOzsdX/C3KyTIlhqWwzhqu6qR2dXGrEmw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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?Yes, score=6.5 required=5.0 tests=BAYES_50,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,KAM_NUMSUBJECT,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, =d8=a7=d9, =d8=b9=d9, =d8=a8=d9?= X-HELO: forward103o.mail.yandex.net Authentication-Results: smtp4p.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Sun, 8 Apr 2018 02:06:10 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <764630012.20180408020610@yandex.ru> To: Allan Fernandes , cygwin AT cygwin DOT com Subject: Re: cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w37NKIHb005866 Greetings, Allan Fernandes! > I am using cygwin1.dll (windows 7) and running a batch file (Abc.Bat) code > given below with observation messages. > Problem: > cygwin1.dll (ver 1.7)+Rdiff.exe handles Unicode but does not handle UNC > paths. > cygwin1.dll (ver 2.10)+Rdiff.exe does not handle Unicode but handles UNC > paths. It's not cygwin1.dll, it's rdiff. > No error messages are given except for last line ver 1.7 says (No such file > or directory) > *Abc.Bat* > *chcp 65001* > *type "العَرَبِيَّة.txt" (works with 1.7 and 2.10)* > *type "\\Mach\D\العَرَبِيَّة.txt" (works with 1.7 and 2.10) * > *rdiff -b 10240 signature "العَرَبِيَّة.Zip" "العَرَبِيَّة.Sig" (works > with 1.7, does not work with 2.10) * > *rdiff -b 10240 signature "\\Mach\D\العَرَبِيَّة.Zip" > "\\Mach\D\العَرَبِيَّة.Sig" (does not work with 1.7 nor 2.10) * > *rdiff -b 10240 signature "\\Mach\D\Simple.txt" "\\Mach\D\Simple.Sig" > (works with 2.10, does nor work with 1.7) * If a program does its own mangling of file paths, stuff like this is bound to happen. For best interoperability with Windows paths, you have to wrap Cygwin tools using cygpath utility. -- With best regards, Andrey Repin Sunday, April 8, 2018 02:04:31 Sorry for my terrible english... -- 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