-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Destination Encoding characters are improperly escaped #7824
Comments
This is an expected behavior, except for your last paragraph. rclone assumes your file path in the local filesystem is already encoded in a way specified in At the same time, rclone does NOT assume your command line input is already encoded in a way specified in Therefore, if you want your second case to work properly.
Footnotes |
Thanks for the explanation. I think I am still a little confused, for the command line parameters and the remote each have their own defaults, yet can be both overwritten by Ah I reread it and I now understand. I suppose the main reason is to handle batch files which expand the file path. If that's the case then handling "." in a different way may pose a problem. |
See https://rclone.org/overview/#encoding for detail, but there are some errors (#7791) currently. |
This is actually a bug, I may open a pr later. |
Hi Nick,
It feels like I'm the only person here using rclone to do local Windows → Windows transfers so here's another bug.
Basically, the Full Width Pipe character seems to be escaped with your backtick sometimes resulting in very odd behavior.
I can't fully describe it, but here's the batch files that makes things easy for you to debug.
control.bat - This file contains expected behavior where
|.txt
is successfully copied from foldera
to folderb
.bug.bat - Here we expect
|.txt
to be copied from folderc
to folder|
but it ends up in folder‛|
for some reason. Note that despite the folder path ending up escaped, the text file|.txt
is NOT escaped.Specifically, it causes statements like
rclone copy <somewhere> .
to spontaneously miss if.
expands to a path with a Full Width replacement character.The text was updated successfully, but these errors were encountered: