[Top][All Lists]

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

Re: Completion should handle combining accents equivalents

From: Samuel Thibault
Subject: Re: Completion should handle combining accents equivalents
Date: Tue, 2 Feb 2021 17:19:38 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Chet Ramey, le mar. 02 févr. 2021 10:50:35 -0500, a ecrit:
> On 2/1/21 5:31 PM, Samuel Thibault wrote:
> > This is tested with libreadline 8.0 on Debian.
> > 
> > If I create a directory named héhé where é is e + U+0301
> > (combining acute accent), and then try to complete hé into it where é
> > is the precombined form U+00E9), libreadline does not take care that é
> > (e with combining acute accent) is equivalent to é (the precombined "e
> > with acute accent" character), and fails to complete.
> Readline doesn't use strcoll right now, since it doesn't work for case-
> insensitive completion or case-mapping completion, and there's no
> strncmp equivalent.

libreadline can use a unicode normal form for the completion matching.


reply via email to

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