delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/09/06:40:24

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:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; q=dns; s=default; b=UaG
+2k5LBY8PXC4lh50eQoQIaUBFKf6LCMAFEo+fZonggyu5Nvctbx8AFCan3iAm4xC
18vjAsfX/Fxxp45hatN26AgYEXIgllk79IzWcsNqQ3fsOF4kiE0zk06cG+LCtr92
quzATWqbt9BHf0rrraDej9X2jPpGPfQD4GRgQoqw=
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:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; s=default; bh=A6Sm9eI64
Gbsw7SiVeEfBYlXUIc=; b=FqfQM9B3ZL+mmMGptarjY/20qtrjYXP6nj4ssyMnB
gQwPq63kMqPEYar9nZi9J1pVwBjDUEID3RB+vtAQ51dEtjTKB9lMSn9hgcdmaTA1
Hg/rbVJkG81IAMo+hepW3GKstIWrD58Tcrxhjt2bv5Kg8UscNyO5F1TXikr7TKQv
XA=
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: =?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
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
From: Allan Fernandes <fernandes DOT a DOT allan AT gmail DOT com>
Date: Mon, 9 Apr 2018 16:10:04 +0530
Message-ID: <CAPZ2AGQUO64Cd3WDHgoSQJUobL8y5Qm3HtNA5po7Tucf5SrJRw@mail.gmail.com>
Subject: Re: cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w39AeMHD017306

 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/العَرَبِيَّة.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 <anrdaemon AT yandex DOT ru> 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 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019