Re: git on MacOSX and files with decomposed utf-8 file names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 23, 2008 at 09:02:43AM +0000, Jonathan del Strother wrote:
> On Jan 23, 2008 8:43 AM, Dmitry Potapov <dpotapov@xxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux