Hi,
On Sat, 19 Jan 2008, Linus Torvalds wrote:
On Sat, 19 Jan 2008, Dmitry Potapov wrote:
quoted
Actually, there is, if you care to do something. You can write a
wrapper around readdir(3) that will recodes filenames in Unicode
Normal Forms C.
If somebody wants to do this, then readdir() isn't the only place, but
yes, readdir() is one of the places.
I suspect that if we were to just do the "turn into NFC on readdir() on
OS X", that might actually be good enough to hide most of the problems.
I think a better approach would be to try to match the name to what we
have in the index. Then we could implement case-insensitivity and MacOSX
workaround at the same time.
Ciao,
Dscho