public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Allan Fernandes <fernandes.a.allan@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7
Date: Mon, 09 Apr 2018 10:40:00 -0000	[thread overview]
Message-ID: <CAPZ2AGQUO64Cd3WDHgoSQJUobL8y5Qm3HtNA5po7Tucf5SrJRw@mail.gmail.com> (raw)

 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@yandex.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

             reply	other threads:[~2018-04-09 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-09 10:40 Allan Fernandes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-07 11:58 Allan Fernandes
2018-04-07 23:20 ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPZ2AGQUO64Cd3WDHgoSQJUobL8y5Qm3HtNA5po7Tucf5SrJRw@mail.gmail.com \
    --to=fernandes.a.allan@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).