Open ibidani opened 3 years ago
The problem is the encoding of the filename. ::sigh:: I've spent more time screwing with Python's annoying encoding/decoding than working on real shit. I should just rewrite everything in C++.
Some bugs are not worth solving, at least not in a priority of the more impactful ones
ran into this bug, fixed by replacing:
path = path.encode(errors='backslashreplace')
with
os.fsencode(path)
and replacing:
attr.decode('utf-8')
with:
os.fsdecode(attr)
Thanks @trapexit for your hard work and being super engaged contributor to mergerfs users. I'm trying to consolidate a few disks using mergerfs.dedup, seems like some of those characters triggered maybe an escaping problem. It's not a big issue for me but maybe to someone else in the future