Ok I think it is a bug IMO. Here how to reproduce it:
Please note that ?:
are two characters:
EFBC9F ? Ideographic question mark
EFBC9A : Ideographic colon
Now in empty folder:
> echo a > test?:test.txt
> rclone copy . onedrive:test
> rclone lsf onedrive:test
test?:test.txt
lsf
normalised ?:t
to ?:
In another cmd window:
>rclone mount onedrive:test mountpoint
>dir /b mountpoint
testtest.txt
result for ?:
are some gibberish characters (EF80BF EF80BA)
When I copy test?:test.txt
test file to mount directly results are as follows:
rclone lsf onedrive:test
test?:test.txt
>dir /b mountpoint
test?:test.txt
lsf
normalises ?:t
to ?:
but at the mount point I can see original correct characters.
The same issue has been reported also here:
@ncw I think it is another case where VFS normalisation would help.
I used onedrive remote in my example but it behaves the same with other remotes.
It seems all works fine on Linux:
$ echo a > test?:test.txt
$ ls
test?:test.txt
$ rclone copy . onedrive:test
$ rclone lsf onedrive:test
test?:test.txt
lsf
does not normalise anything
and all is ok on mount:
$ ls mountpoint
test?:test.txt