Re: git on MacOSX and files with decomposed utf-8 file names
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Jan 20, 2008, 00:11 UTC
- Message-ID
- <B4FDA32F-16C9-497A-AAD8-27A8D510C4CB@wincent.com>
- In-Reply-To
- <alpine.LFD.1.00.0801191026500.2957@woody.linux-foundation.org>
El 19/1/2008, a las 19:58, Linus Torvalds escribió:
Show 9 quoted lines
> 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. > The > issue isn't just that OS X mangles the filenames, it's that it picks a > particularly *stupid* way to mangle them (the decomposed forms), which > means that OS X will actually not just corrupt "odd cases" of > Unicode, but > will corrupt the obvious and *common* Latin1 translations of Unicode.
For what it's worth, their choice wasn't entirely "insane" ie. it did have an element of rationality: that decomposed forms are a little bit simpler to sort.
Of course, this doesn't excuse them for creating a file system that interacts so horridly with basically everything else out there.
Cheers, Wincent