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

Country Flags aren't showing on "chosenEmoji.emoji" #146

Closed
matheusrgarcia opened this issue May 14, 2020 · 2 comments
Closed

Country Flags aren't showing on "chosenEmoji.emoji" #146

matheusrgarcia opened this issue May 14, 2020 · 2 comments

Comments

@matheusrgarcia
Copy link

Calling most emojis from its objects work as expected, but it seems like flags from countries only appear as letters, for example, when selecting the flag of "Brazil", the chosenEmoji.emoji from it shows the letters "BR", the same as other country flags;

brflag

@ealush
Copy link
Owner

ealush commented May 14, 2020

Hey @matheus-garcia, thanks for reaching out.
Unfortunately there's nothing much you can do about it, this is how Windows renders country flag emojis. You can see an example of it here:

https://emojipedia.org/flags/
Try opening this link from your windows machine and from your smartphone. You will get complete different emojis.

Emojis are actual text your device renders, so it is up to your os to determine how they look.

The one thing you can do instead is render the emoji at an image tag instead of a string.

Hope that clarifies it a bit.

@matheusrgarcia
Copy link
Author

I see, thanks.

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

2 participants