terminator icon indicating copy to clipboard operation
terminator copied to clipboard

Multi-byte emojis are not displayed correctly

Open protist opened this issue 3 years ago β€’ 2 comments

Reproducible with an empty config (terminator -u -g /dev/null)

Describe the bug Multi-byte emojis are not displayed correctly as a single glyph. Instead, they are shown as the component glyphs.

To Reproduce Attempt to display a multi-byte emoji. For example any of the following three:

  • πŸ‘¨β€πŸ”§ β†’ πŸ‘¨ (U+1F468 MAN) + (U+200D ZERO WIDTH JOINER) + πŸ”§ (U+1F527 WRENCH)
  • πŸ˜΅β€πŸ’« β†’ 😡 (U+1F635 DIZZY FACE) + (U+200D ZERO WIDTH JOINER) + πŸ’« (U+1F4AB DIZZY SYMBOL)
  • πŸ‡ΊπŸ‡Έ β†’ πŸ‡Ί (U+1F1FA REGIONAL INDICATOR SYMBOL LETTER U) + πŸ‡Έ (U+1F1F8 REGIONAL INDICATOR SYMBOL LETTER S)

Expected behaviour Emoji to be shown.

Screenshots In vim, the emoji above look like this. emoji

Desktop (please complete the following information):

  • OS or Linux Distribution: Arch Linux
  • Version: Up-to-date
    • terminator 2.1.2-1
    • vte3 and vte-common 0.70.1-1
  • Display Technology: X11

Additional context I'm not entirely sure if this is a terminator bug, so apologies if I have gotten this wrong. I also tested in three other terminals: Alacritty, Konsole, and Gnome Terminal. All of these also failed. Gvim also fails. However, opening the text document containing the emoji above in a GUI text editor works.

protist avatar Nov 10 '22 06:11 protist

If Gnome-terminal also failed, this is definitely a vte bug. Terminator lets vte handle all that. Please open an issue at https://gitlab.gnome.org/GNOME/vte/-/issues

mattrose avatar Nov 14 '22 21:11 mattrose

Thanks @mattrose. Could you please confirm if this is the same bug? It only mentions flags, but I'm not sure if the ZWJ part is relevant.

protist avatar Nov 16 '22 04:11 protist