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

Re: zsh crashes on completeion of utf-8 file-names.



"Zvi Har'El" wrote:
> I know that zsh-4.1.1 still doesn't support utf-8, but as realeased it could
> do completion on utf-8 file names. However, I recently updated from the cvs
> and now zsh crashes on completions of names, when I have two candidates of th
> e
> form RA and RB, and I hit R<TAB>. This happens when R=U+05E8 (0xd7 0xa8) or
> U+05E9 (0xd7 0xa9) and A and B are U+05D0 and U+05D1.

I managed to reproduce this with zsh -f on a directory containing only
the files

touch $'\xd7\xa8\xd7\x90'
touch $'\xd7\xa8\xd7\x91'

As you say, it shouldn't be possible to have a Meta immediately before
the last character.  If there was a Meta or a NUL in the input it should
have been xored with 32 and a Meta stuck in front of it.  This suggests
the bug is actually earlier than ztrsub.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



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