Re:A popular but wrong way to convert a string to uppercase ...
by daemin on Tuesday October 08, 2024 @05:53AM
(#41775466)
That's what I mean, you treat filesystem paths as bags of bytes separated by known ASCII characters, as the only path manipulation that you generally need to do is to append a path, remove a path, change extension, things that only care about those ASCII characters. You only modify the path strings at those known characters and leave everything in between as is (with some exceptions using OS API specific functions as needed).
[ Parent
| on HN ]
There are no comments on this comment yet.