Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZWJ paste from clipboard problem (unicode)
- X-seq: zsh-users 30236
- From: "Daniil Rozanov" <personal@xxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Cc: "Zsh users" <zsh-users@xxxxxxx>
- Subject: Re: ZWJ paste from clipboard problem (unicode)
- Date: Tue, 01 Apr 2025 01:22:44 +0400
- Archived-at: <https://zsh.org/users/30236>
- In-reply-to: <CAH+w=7atQJ9Hqp=MXpin3CMQ=N_=fvhYs1aWfFh2fpHNLbEvzg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <D8UOVIME9HDS.1I0WLZVJ6FPQ7@rozanov.info> <CAH+w=7atQJ9Hqp=MXpin3CMQ=N_=fvhYs1aWfFh2fpHNLbEvzg@mail.gmail.com>
On Mon Mar 31, 2025 at 11:31 PM +04, Bart Schaefer wrote:
> On Mon, Mar 31, 2025 at 12:13 PM Daniil Rozanov <personal@xxxxxxxxxxxx> wrote:
>>
>> When trying to paste "👩" (U+1F469 U+1F3FB U+200D U+1F9B0) emoji, zsh
>> prints two emojis and "<200d>" in between.
>
> Try "setopt combining_chars"
>
> Additional tweaks may be needed if your terminal is using bracketed paste mode.
Thanks! Now it pastes pretty emoji. But now there is another problem,
which is character's width is more than expected. And with some special
emojis it works wrong: duplicated display on paste, backspase erases
kinda parts of emoji instead of remove it all at once. Btw this
behaviour now is similar to bash.
Maybe zsh has some group of settings which handle unicode?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author