Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85024

Add a QString method to check for Emoji

    XMLWordPrintable

Details

    • Task
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15.0
    • None
    • Gentoo Linux, KDE 5.18.5

    • All

    Description

      emojis are very popular nowadays but Qt has almost no methods to work with them. Even so Qt had a lot of fixes to render emoji correctly.

      So I propose to start with something simple. Like a check if a character sequence is an emoji.

      Basically I want bool QString::isEmoji() const where it checks the accordance to https://unicode.org/Public/emoji/13.0/emoji-test.txt

      This thing should also work with QStringRef.

      Also it would be useful to have detection of emoji's group/subgroup/qualification. but it's rather something for other tasks. Just keep this in mind.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            rion Rion
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes