2 ms·
> There aren't any operating systems I'm aware of where paths are actually Shift-JIS by convention, so that seems like a non-issue. Using "UTF-8 by convention"
by lmm 4y ago
> There aren't any operating systems I'm aware of where paths are actually Shift-JIS by convention, so that seems like a non-issue. Using "UTF-8 by convention" strings works on all modern OSes.
Nonsense. Unix paths use the system locale by convention, and it's entirely normal for that to be Shift-JIS.