by asveikau · 6y ago · 0 comments
I happen to agree with the idea that the filename should be a dumb blob of bytes and the kernel should not do case folding, as it is the wrong layer for that, eg. the user can change their language but it won't update what has been written to the disk in thousands or millions of places where you could suddenly have a filename collision somewhere based on those rules changing.
But, I do hope you get that refund for your Linux.
Well, now your filename is invalid utf8. How should programs display it or even address such a file?
what's wrong with foo����.txt
> or even address such a file? ... by using the array of bytes ?
That's reality. An OS which can't keep up with reality is broken.
This hasn't been true since the days of CP/M
All of the wide/special-case manipulation when writing code on e.g. Windows drove me nuts.