From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72552 invoked by alias); 9 Apr 2018 10:40:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 72541 invoked by uid 89); 9 Apr 2018 10:40:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=2.6 required=5.0 tests=BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy==d8=a7=d9, =d8=b9=d9, =d8=a8=d9, =d8=b1=d9?= X-HELO: mail-ot0-f176.google.com Received: from mail-ot0-f176.google.com (HELO mail-ot0-f176.google.com) (74.125.82.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Apr 2018 10:40:06 +0000 Received: by mail-ot0-f176.google.com with SMTP id a14-v6so8012421otf.6 for ; Mon, 09 Apr 2018 03:40:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=naWM20UPKgrM4eqLq4wC2sZQnaF+Xq7B8Dz+VFD38hc=; b=Z7XzfPVKYYwirfYkp6OENF8JI3qIj6FL2JN+4uJ0Je1seMOpj8QSnUNAqRUAot0zD1 OXsfmDlpLhSuRXOimkuJ8dyafr2PjOFomL5TcgxWLN645OAxMJEH8lkKEkT40FUCF7mc xb4pxveY7QswJWLan4N+m8Cs3xp+YhXxlqcksF622QI+8063hHk2rfmW3joOaeYXKCmA AQnInYreHLKATUQWji53pI12cFAWM3/QHl49hohHqtnPhkiq+C4SQb6q0XJVwtYCzXll ff5ZP3xRx2Au3hiAyuIA7zK/ES4W2Ui87Labrfj1I/7I/IWi4+HeVF3n3mM2rNQTG+35 t5MA== X-Gm-Message-State: ALQs6tCjbdPv63p8IZ3EmyXRDHsF6nzV5jz+SMh3OMbH4cLt7zp72nUG 5fVv79WpoBvd8g5uJD4EzDQW2+wwI/tuECRhmgSiIw== X-Google-Smtp-Source: AIpwx48BYrhbPwv/LcEge312eIVwdPaCKXAbrft/i0Q7qXjtz/+GzdUqu5xItsVR4iK0BoSS4vCPedRFPAU1u8p8wEo= X-Received: by 2002:a9d:720a:: with SMTP id u10-v6mr23582980otj.332.1523270404849; Mon, 09 Apr 2018 03:40:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.30.3 with HTTP; Mon, 9 Apr 2018 03:40:04 -0700 (PDT) From: Allan Fernandes Date: Mon, 09 Apr 2018 10:40:00 -0000 Message-ID: Subject: Re: cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7 To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00068.txt.bz2 Hi, I tried cygpath but it did not help. It gave me folder path as given below. I used this path but results were the same. "/proc/cygdrive/c/delit/Rdiff/=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9=8E=D8=A8=D9= =90=D9=8A=D9=8E=D9=91=D8=A9.txt" Anyways half my problem is solved as now with the latest Cygwin I can get RDiff.exe to work fine, but it only happens if I execute the Cygwin.bat and run my .Bat file from the bash prompt. I want to run it automatically from my program without user intervention. Regards Allan On Sun, Apr 8, 2018 at 4:36 AM, Andrey Repin wrote: > 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 U= NC > > 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 "=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9=8E=D8=A8=D9=90=D9=8A=D9=8E=D9= =91=D8=A9.txt" (works with 1.7 and 2.10)* > > > *type "\\Mach\D\=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9=8E=D8=A8=D9=90=D9=8A= =D9=8E=D9=91=D8=A9.txt" (works with 1.7 and 2.10) * > > > *rdiff -b 10240 signature "=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9=8E=D8=A8= =D9=90=D9=8A=D9=8E=D9=91=D8=A9.Zip" "=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9=8E= =D8=A8=D9=90=D9=8A=D9=8E=D9=91=D8=A9.Sig" > (works > > with 1.7, does not work with 2.10) * > > > *rdiff -b 10240 signature "\\Mach\D\=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9= =8E=D8=A8=D9=90=D9=8A=D9=8E=D9=91=D8=A9.Zip" > > "\\Mach\D\=D8=A7=D9=84=D8=B9=D9=8E=D8=B1=D9=8E=D8=A8=D9=90=D9=8A=D9=8E= =D9=91=D8=A9.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