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

Re: Disable UTF8-escaping diacritics



On 2/20/24, Avid Seeker <avidseeker7@xxxxxxxxxxxxxx> wrote:
> Currently, it is not possible to input Arabic Diacritics in a zsh prompt.
>
> E.g: pasting this in zsh:
>
> $ echo السَّلامُ
>
> Results in
>
> $ echo الس<0651><064e>لام<064f>
>
> While this is often desirable when dealing with some Unicode characters,
> especially when dealing with hidden characters like ZWNJ, it is not
> helpful when inputting Arabic text.
>
> See: https://en.wikipedia.org/wiki/Arabic_diacritics for the Unicode
> entries
> and more examples.

Try with setopt COMBINING_CHARS, but arabic is never going to look
very readable in a cell-based system like a terminal.

-- 
Mikael Magnusson




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