On 2/1/21 5:31 PM, Samuel Thibault wrote:
Hello,
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. There's no other external API to use for this purpose.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/