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

Re: zsh bug: isearch doesn't support unicode properly



>> I'm not yet sure what's wrong with these characters but at least the
>> meta character processing looks suspicious.
>
> Yes --- how about this?
>
> diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
> index d0e7b55..b84d253 100644
> --- a/Src/Zle/zle_utils.c
> +++ b/Src/Zle/zle_utils.c
> @@ -145,6 +145,7 @@ zlecharasstring(ZLE_CHAR_T inchar, char *buf)
>                 ptr2--;
>             }
>             *ptr = Meta;
> +           ptr[1] ^= 32;
>             ret++;
>         }

Yep, patched it on the 5.0.2 release, tested with a few inputs that
used to have problems and it seems to fix the problem.

Thanks for the fast patch.

BTW, will this be included in the next release (5.0.3?). (Just want to
know if I still need to compile zsh myself on the next ArchLinux
update)

>
> pws



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