cygwin1.dll version 2.10 not handling Unicode as well as ver 1.7
Andrey Repin
anrdaemon@yandex.ru
Sat Apr 7 23:20:00 GMT 2018
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... ТÒÐÐ¥&ö&ÆVÒ&W÷'G3¢GG¢òö7wvâæ6öÒ÷&ö&ÆV×2æFÖÀФd¢GG¢òö7wvâæ6öÒöfðФFö7VÖVçFFöã¢GG¢òö7wvâæ6öÒöFö72æFÖÀÐ¥Vç7V'67&&Ræfó¢GG¢òö7wvâæ6öÒöÖÂò7Vç7V'67&&R×6×ÆPÐ Ð
More information about the Cygwin
mailing list