Unicode filenames as parameters in Command Prompt

7 views
Skip to first unread message

Allan Fernandes

unread,
Apr 5, 2018, 7:26:11 AM4/5/18
to Martin Pool, libr...@googlegroups.com
Hi Martin,

I am successfully using rdiff.exe + cygwin1.dll to create signatures from command prompt. My Problem is that with Unicode filenames it is not working? Please advice 

rdiff -b 10240 signature "ฉันเจ็บ.txt" "ฉันเจ็บ.sig"

I am using Windows7.

Regards
Allan

Martin Pool

unread,
Apr 5, 2018, 4:45:32 PM4/5/18
to Allan Fernandes, librsync
I suggest you file a bug here: https://github.com/librsync/librsync/issues

I guess the way it's getting the arguments doesn't work with how Windows passes unicode.

Allan Fernandes

unread,
Apr 6, 2018, 8:21:03 AM4/6/18
to Martin Pool, librsync
Dear Martin,

using below line in my Bat file did the trick. Also I had to use the correct cygwin1.dll

chcp 65001 

Regards
Allan
Reply all
Reply to author
Forward
0 new messages