Re: ZWJ paste from clipboard problem (unicode)

"Hugo Osvaldo Barrera" <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
On Mon, 31 Mar 2025, at 21:13, Daniil Rozanov wrote:
> When trying to paste "👩" (U+1F469 U+1F3FB U+200D U+1F9B0) emoji, zsh
> prints two emojis and "<200d>" in between. And then if I toggle command
> history with this emoji, zsh corrupts it's prompt so it erases symbol by
> symbol.
>
> After I paste one zsh prints 'zsh: (normal looking emoji): command not 
> found', so
> there is no problem in my fonts or terminal emulator.

See the COMBINING_CHARS option.
You want your config to include:

setopt COMBINING_CHARS

-- 
Hugo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.