4 ms·
Unfortunately, on Linux, filenames are actually bytes, not utf-8.
by chronial 7y ago
Unfortunately, on Linux, filenames are actually bytes, not utf-8.
- ChrisSD 7y agoWell yes and on Windows they are a sequence of 16bit values, not utf-16. My point was the encoding of filenames differ. So you can't do a byte-for-byte copy and expect the same results across platforms. As an aside, it'd be perfectly legitimate for Mercurial (and git) to reject filenames that aren't representable in unicode.