Emoji width wrong and varying with U+FE0F and U+FE0E ignored. #12323

Open
opened 2026-01-31 03:12:21 +00:00 by claunia · 0 comments
Owner

Originally created by @christianparpart on GitHub (Jan 30, 2021).

Try this in Window Terminal (I am using version 1.4 btw):

echo -ne "M\U0001F600M\nM\U0001F600\uFE0FM\nM\U0001F600\uFE0EM\n"

This is how it looks:
image

  1. U+FE0E modifier is ignored.
  2. U+FE0F modifier generates a glyph with a different with than without modifier.

The default emoji presentation mode should be respected (here emoji, but there are others that are text).
And the width for emoji emoji presentation should be 2 (as per unicode emoji spec) whereas emoji text presentation (including U+FE0E override) should be text and cell width 1.

Originally created by @christianparpart on GitHub (Jan 30, 2021). Try this in Window Terminal (I am using version 1.4 btw): ```sh echo -ne "M\U0001F600M\nM\U0001F600\uFE0FM\nM\U0001F600\uFE0EM\n" ``` This is how it looks: ![image](https://user-images.githubusercontent.com/56763/106359324-5dd91100-6312-11eb-822a-484accf2b51b.png) 1. U+FE0E modifier is ignored. 2. U+FE0F modifier generates a glyph with a different with than without modifier. The default emoji presentation mode should be respected (here emoji, but there are others that are text). And the width for emoji emoji presentation should be 2 (as per unicode emoji spec) whereas emoji text presentation (including U+FE0E override) should be text and cell width 1.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12323