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 Jan 23, 2008 7:58 PM, Kevin Ballard <kevin@xxxxxx> wrote:
> On Jan 23, 2008, at 4:40 AM, Mike Hommey wrote:
> >
> > That's the point. It's stored in NFC, but what applications see is
> > NFD.
>
> I was actually asking for you to show this instead of just asserting
> it, but I realized I have access to an SMB share myself so I just
> tested.
>
> And you're right. That's very curious. I guess they did that because
> the entire Carbon stack was written assuming NFD (back at the same
> time HFS+ was created), and they wanted to provide a consistent
> interface to applications.

Wait, did you tell us some time ago that normalization does not
matter and you just need to treat strings "as text"? Now, it looks
like the Carbon stack does not treat strings "as text". How come?

Maybe, you should stop lying and admit that changing Unicode
strings does matter even if they remain equivalent.

> Since the filesystem already uses NFC,
> renormalizing to NFD shouldn't lose anything (want the original
> representation back? just normalize back to NFC).

On Windows, you can create two *different* files -- one with NFC
and the other with NFD name. I wonder, how it is going to work
with your renormalization back and force.

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