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.

Samuel

Reply via email to