Re: git on MacOSX and files with decomposed utf-8 file names
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Jan 23, 2008, 09:12 UTC
- Message-ID
- <20080123091240.GO14871@dpotapov.dyndns.org>
- In-Reply-To
- <57518fd10801230102n4f430219p2701c7561f184569@mail.gmail.com>
On Wed, Jan 23, 2008 at 09:02:43AM +0000, Jonathan del Strother wrote:
Show 17 quoted lines
> On Jan 23, 2008 8:43 AM, Dmitry Potapov <dpotapov@gmail.com> wrote: > > On Wed, Jan 23, 2008 at 03:15:02AM -0500, Kevin Ballard wrote: > > > > > > Entirely possible, though renormalizing file contents seems a bit less > > > likely. I will point out that the text input system in OS X seems to > > > default to producing NFC (at least, typing `echo 'Märchen' | xxd` in > > > the Terminal shows that the input string there is NFC). > > > > I wonder what happens if you do this: > > > > touch 'Märchen' > > echo M*rchen | xxd -g1 > > > > Will that produce NFC or NFD? > > > > 0000000: 4d 61 cc 88 72 63 68 65 6e 0a Ma..rchen.
This is NFC! Did you do that on HFS+?
If so, it means that shell on Mac also converts filenames to NFC when it reads them from the disk.
Dmitry