zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Avid Seeker <avidseeker7@protonmail.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Disable UTF8-escaping diacritics
Date: Wed, 21 Feb 2024 01:16:08 +0100	[thread overview]
Message-ID: <CAHYJk3SjeU86bwdDWcQ1r8Ak9+grVB51CqTm90XF3TvAPGweYA@mail.gmail.com> (raw)
In-Reply-To: <8yYj-thb4PbTZU9ba0buJrpHB_TFHVhEXrTt-aBq6Mx5drX1DSURzsso4a1MSRWdhvTkE0Fv9W90dwIPw85l1IY0-S_HgRfqVbpOgMaE_Qc=@protonmail.com>

On 2/20/24, Avid Seeker <avidseeker7@protonmail.com> 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


      parent reply	other threads:[~2024-02-21  0:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 19:25 Avid Seeker
2024-02-20 22:56 ` Bart Schaefer
2024-02-21  0:16 ` Mikael Magnusson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3SjeU86bwdDWcQ1r8Ak9+grVB51CqTm90XF3TvAPGweYA@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=avidseeker7@protonmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).