New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix dealing presentation selector #46 #48

wants to merge 2 commits into
base: master


None yet
1 participant

yantene commented Oct 8, 2017

Emoji and text presentation selector used to request an emoji or text presentation for an emoji charactor.

If an emoji presentation character (EPC) is given,
the emoji should be replaced by corresponding image.
If a text presentation character (TPC) is given,
the emoji shouldn't be replaced by it.
And if an emoji zwj sequence includes TPC, the sequence will be several emojis1.
If an EPC or TPC is not given,
the emoji's expression is determined by the value of its emoji property "Emoji_Presentation".

However, I don't think it makes sense to deal with the Emoji_Presentation property.
For example,
an emoji "馃垇" (U+1F201) is Emoji_Presentation=Yes,
but "馃垈" (U+1F202) is Emoji_Presentation=No2.
Besides, though many other food emoji are Emoji_Presentation=Yes,
"馃尪" is Emoji_Presentation=No.
Do you think this has a meaning?

It's difficult to handle about presentation,
so I think that it is better to ignore emoji and text presentation characters.
And I implemented it.

What do you think?

@yantene yantene added the bug label Oct 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment