[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: |
Mon, 17 Jul 2023 15:29:40 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 7/7/23 5:05 PM, Grisha Levit wrote:
A few small tweaks for the macOS-specific normalization handling to
handle the issues below:
The issue is that the behavior has to be different between cases where
the shell is reading input from the terminal and gets NFC characters
that need to be converted to NFD (which is how HFS+ and APFS store them)
and when the shell is reading input from a file and doesn't need to (and
should not) do anything with NFD characters.
https://lists.gnu.org/archive/html/bug-bash/2009-07/msg00047.html from 2009
is the detailed report that inspired the current interactive-only solution
for completion, followed up with
https://lists.gnu.org/archive/html/bug-bash/2010-01/msg00017.html
Does iconv work when taking NFD input that came from the file system and
trying to convert it to NFD (UTF-8-MAC)? I've honestly never checked.
--
``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/
- [PATCH] normalization tweaks for macOS, Grisha Levit, 2023/07/07
- Re: [PATCH] normalization tweaks for macOS,
Chet Ramey <=
- Re: [PATCH] normalization tweaks for macOS, Grisha Levit, 2023/07/17
- Re: [PATCH] normalization tweaks for macOS, alex xmb ratchev, 2023/07/18
- Re: [PATCH] normalization tweaks for macOS, Chet Ramey, 2023/07/18
- Re: [PATCH] normalization tweaks for macOS, Grisha Levit, 2023/07/18
- Re: [PATCH] normalization tweaks for macOS, Chet Ramey, 2023/07/20
- Re: [PATCH] normalization tweaks for macOS, alex xmb ratchev, 2023/07/20
- Re: [PATCH] normalization tweaks for macOS, Grisha Levit, 2023/07/20
- Re: [PATCH] normalization tweaks for macOS, Chet Ramey, 2023/07/24
- Re: [PATCH] normalization tweaks for macOS, Grisha Levit, 2023/07/25
- Re: [PATCH] normalization tweaks for macOS, Chet Ramey, 2023/07/31