Skip to content

Aternative for using Emoji in C++聽#45

Description

@gleb-kun

馃殌 Alternative for using Emoji in C++

Hello! 馃憢 I would like to express my deep gratitude to the authors of this library. At one time, your library helped me simplify the implementation of emoji when I was developing bots for the Telegram messenger, as well as when developing a frontend on Qt.

However, to my regret, I noticed that this repository has not been updated for a long time (the last commit was 4 years ago), but the topic of using emoji remains relevant. In addition, the current solution has other shortcomings.

I am developing a library AS::Emoji that solves these problems. It provides emoji in a convenient and safe format.

馃敟 Example of use:

#include <iostream>
#include <ASEmoji.h>

int main()
{
    std::cout << AS::Emoji::emojize("Hello, World! :Grinning Face with Smiling Eyes:") << std::endl;
    return 0;
}

Output:

Hello, World! 馃槃

馃敆 Repository: https://github.com/gleb-kun/ASEmoji

I'll be glad if it's useful to someone! I'll also be glad to receive your suggestions and help in improving 馃殌

Activity

  1. gleb-kun commented on Mar 10, 2025

    @gleb-kun
    Author

    I have taken into account the following shortcomings.

    1. Now supports a large number of emoji, not only emoji available via Github codes.
    2. For the storage structure of utf8 strings, unordered_map is used.
    3. Added Makefile for installation into the system.
    4. Added more features for flexible work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions