2 ms·
I am pretty sure (but not 100% sure) that Windows uses UCS-2 for filenames, not UTF-16, and so it is worse than that, as you can have unpaired surrogates.
by saurik 3y ago
I am pretty sure (but not 100% sure) that Windows uses UCS-2 for filenames, not UTF-16, and so it is worse than that, as you can have unpaired surrogates.
- duskwuff 3y agoYou're entirely correct; I was oversimplifying the (fairly horrifying) situation.