Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Disable UTF8-escaping diacritics
- X-seq: zsh-workers 52567
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Avid Seeker <avidseeker7@xxxxxxxxxxxxxx>
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Disable UTF8-escaping diacritics
- Date: Wed, 21 Feb 2024 01:16:08 +0100
- Archived-at: <https://zsh.org/workers/52567>
- In-reply-to: <8yYj-thb4PbTZU9ba0buJrpHB_TFHVhEXrTt-aBq6Mx5drX1DSURzsso4a1MSRWdhvTkE0Fv9W90dwIPw85l1IY0-S_HgRfqVbpOgMaE_Qc=@protonmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <8yYj-thb4PbTZU9ba0buJrpHB_TFHVhEXrTt-aBq6Mx5drX1DSURzsso4a1MSRWdhvTkE0Fv9W90dwIPw85l1IY0-S_HgRfqVbpOgMaE_Qc=@protonmail.com>
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