vdurmont/emoji-java

isEmoji doesn't work for emojis with gender modifiers

Opened this issue Β· 2 comments

4ver commented

Passing πŸƒβ€β™‚οΈor πŸƒβ€β™€οΈto isEmoji returns false.

This is true, I wrote a quick test that is failing. I'm going to try to investigate but if you have time, a PR is always welcome!

@Test
  public void isEmoji_with_gender_modifier_returns_true() {
    // GIVEN
    String str = "πŸƒβ€β™‚";

    // WHEN
    boolean isEmoji = EmojiManager.isEmoji(str);

    // THEN
    assertTrue(isEmoji);
  }

Draft Pull Request: #139