Skip to content

[QUESTION]About counting emoji character #369

@Tranglt93

Description

@Tranglt93

I am using twitter-text library in newest version for counting characters in the posting tweet function on my website. But there is a problem with mechanic Emoji(🧑‍🔧 ) which is formed by combining 1 [ZWJ zero width joiner] and 2 individual Emoji (person wearing blue overalls and holding a wrench). And in my website, It is counted 5 characters but in Twitter, it just has 2 character as a normal emoji. I don’t know why. Can someone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions