Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aternative for using Emoji in C++ #45

Open
gleb-kun opened this issue Mar 10, 2025 · 1 comment
Open

Aternative for using Emoji in C++ #45

gleb-kun opened this issue Mar 10, 2025 · 1 comment

Comments

@gleb-kun
Copy link

🚀 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 🚀

@gleb-kun
Copy link
Author

gleb-kun commented Mar 10, 2025

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant