On 7/18/23 1:39 PM, Grisha Levit wrote:
On Tue, Jul 18, 2023 at 9:55 AM Chet Ramey <chet.ra...@case.edu> wrote:
Unicode normalization on macOS has always been a pain in the ass.

I can see that!

This is the basic assumption that drives all the decisions: character input
you get from the terminal is in NFC, and files from the file system (names
and usually contents) are in NFD.

I guess the point of this patch was that this assumption does not
always hold -- neither file system names nor terminal input have any
guaranteed normalization.

I should have said keyboard input; pasted text can be NFD, as you show.

So I'll go ahead with your patch, starting with the globbing changes. We're
already not conformant with POSIX here, so what's a little bit more?

Apple certainly didn't do anyone any favors with this.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to