[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add a predicate for canonical file name
From: |
Kalle Olavi Niemitalo |
Subject: |
Re: Add a predicate for canonical file name |
Date: |
Sun, 16 Oct 2016 02:07:41 +0300 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.51 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> > A further wrinkle arises from Unicode normalization. IIRC Linux uses
> NFC,
> > MacOS uses NFD.
>
> Do you mean Linux, the kernel, or GNU/Linux, the operating system?
> I would suppose that Linux has no reason to concern itself with this
> question.
Linux cares about it when reading file names from Apple's HFS+
file system. I think the file names are stored as NFD on disk
and the hfsplus_readdir function converts them to NFC, except I'm
not sure the conversion entirely matches Unicode specifications.