Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#374913: zsh: Completion should handle combining accents equivalents



On Sun, Nov 05, 2006 at 02:26:10AM +0100, Vincent Lefevre wrote:
> I don't think they should be considered equivalent as long as the
> file system does not regard them as equivalent:
> 
> vin% touch "`echo e\\\u300`"
> vin% touch "`echo \\\ue8`"
> vin% ls
> è  è
> 
> But I wonder if this is a bug in the glibc. Perhaps some kind of local
> phishing could be based on that.
> 
> Note also that zle is completely confused by the combining character.
> But so is bash.

Would the best thing here be to normalize to Unicode NFD in the
completion code?



Messages sorted by: Reverse Date, Date, Thread, Author