-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unicode filename not recognized well on Windows + PowerShell #174
Comments
Can you please attach the problematic report file with duplicates? |
Here is some additional info for this issue (still present in 0.29.3) Report file:
Attempt to dedupe:
Result is that no files are de-duplicated. I can possibly take a stab at a fix for this if I get some time. |
I tested both on Windows in CMD as well as in Wine and it handles the "hamburger" emojis just fine. Looks like powershell additionally reinterprets the encoding when the content is piped between two programs. So |
Weird issue. I'm okay with using cmd, so
|
I'm not saying thete is nothing to do here. I'm thinking about a workaround. There are a few things I need to try. Maybe adding a BOM on Windows would help. Or I just escape all non ASCII characters on Windows (or as an option). |
Good catch @pkolaczk. Turns out the issue was not what I first thought it would be, but your digging has helped me find a workaround that still allows a user to use PowerShell. Run ie. Without:
With:
There seems to be a documented way to set your system to always use UTF-8 but it sounds like it could have potential compatibility issues. I wonder if there is a way that fclones could a) detect it's running in PowerShell and b) set that property temporarily. That might be asking too much, as this really seems more like a PowerShell issue. |
Can this theoretically be solved by introducing the |
Meanwhile, I found that Setting |
The actual directory name is
[π/3] DistorteD MoonlighT
and[縺輔°縺阪??縺帙▽縲?縺セ縺医□] 豁サ縺ォ縺溘縺ェ縺
. (Yeah that's really a filename) It seems like fclones couldn't recognize Unicode names here.cargo install fclones
, wherecargo
is installed withrustup
.Thanks
The text was updated successfully, but these errors were encountered: