bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] normalization tweaks for macOS


From: Chet Ramey
Subject: Re: [PATCH] normalization tweaks for macOS
Date: Thu, 20 Jul 2023 11:54:50 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 7/18/23 1:39 PM, Grisha Levit wrote:
On Tue, Jul 18, 2023 at 9:55 AM Chet Ramey <chet.ramey@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    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]