zulip-terminal icon indicating copy to clipboard operation
zulip-terminal copied to clipboard

Right line mismatch with messages containing certain emoji's.

Open sumanthvrao opened this issue 6 years ago • 4 comments

When messages with certain emoji's appear, the right border line of Middle Column, seems to be mismatched. One example of such an emoji is . (have not done an extensive search of which emoji's cause this issue) For example emoji's like this --> 👍🏽 right_line

sumanthvrao avatar Mar 30 '19 03:03 sumanthvrao

@sumanthvrao This wouldn't happen from the web app since all emojis there are automatically converted to text. I think this is happening from the mobile version. When I try to send unsupported emojis, from my keypad's emoji picker, ZT just recieves it as unicode which it can't decode. I guess we can just let the unicode text be there and add an extra space so that the characters don't overlap

kaustubh-nair avatar Jan 14 '20 07:01 kaustubh-nair

Or we can try to extract the name of the emoji from unicode using a lookup module. Something like this https://docs.python.org/3/library/unicodedata.html#unicodedata.name

kaustubh-nair avatar Jan 14 '20 07:01 kaustubh-nair

This may be fixed upstream in urwid/urwid#225, but could be resolved via aspects like #687, applied to all names where emoji can take place.

neiljp avatar Jan 28 '21 17:01 neiljp

Hello @zulip/server-emoji members, this issue was labeled with the "area: emoji" label, so you may want to check it out!

zulipbot avatar Apr 23 '24 19:04 zulipbot