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

Re: Strange handling of multi-byte emoji / variation selector U+FE0E in ZLE



> 2017/07/11 04:05, Elliott Cable <me@xxxxxx> wrote

>    echo '☺'   // echo -e '\u263A'
>    echo '☺️'   // echo -e '\u263A\uFE0F'
>    echo '☺︎'   // echo -e '\u263A\uFE0E'

> Unfortunately, when these are entered at the command-line, ZLE's
> character-count seems to get all wonky:

Could you please try the latest git master? About two months ago
We've added new Unicode-related functions to zsh, which correctly
recognize U+FF00 - U+FF0F as combining characters.
(The new functions are enabled by default on macOS)



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