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 c...@case.edu http://tiswww.cwru.edu/~chet/