From: Jay Soffian Date: Thu, 20 May 2010 18:22:22 GMT Subject: Re: Git, Mac OS X and German special characters Message-ID: In-Reply-To: On Thu, May 20, 2010 at 11:50 AM, Jay Soffian wrote: > To be consistent, shouldn't we have a core.HFSPlusCompat that can be > set on non-braindamaged filesystems to prevent filenames which would > alias on HFS+ from entering the repo? > >   http://developer.apple.com/mac/library/technotes/tn/tn1150.html#UnicodeSubtleties And here's an implementation (BSD-style license): http://src.chromium.org/svn/trunk/src/base/file_path.cc See GetHFSDecomposedForm and HFSFastUnicodeCompare. C++ so it'll require adapting. j.