emojityper / emojityper

Github said "Error saving your changes: Description contains unicode characters above 0xffff" when I put the FACE LAUGHING WITH TEARS OF JOY emoji in this box
https://emojityper.com
Apache License 2.0
76 stars 9 forks source link

Country flags are not supported #36

Open flaki opened 6 years ago

flaki commented 6 years ago

Hi! Is this intentional? E.g. me typing U S brings up the the statue of liberty emoji, but the US flag is not even in the list. (seems to be the same for all other flags)

samthor commented 6 years ago

Hey! If you're on Windows, the flags aren't supported (should just be letters), so Emojityper doesn't show them. You can disable the valid checks if you want: https://emojityper.com/?ignore_valid ^^ It's also not clear if I should add a setting for this in the page somewhere.

In terms of other platform support: macOS supports flags fine, and Linux is a complex one that's currently a bit problematic.

flaki commented 6 years ago

Oh neat! Yeah, I'm on Linux (Arch+Gnome), ?ignore_valid did the trick, though! (it appears as letters, as stated, but supporting sites and apps will still consume it and display it right)

samthor commented 6 years ago

You're welcome. Flags are easy, because you see the letters, but unsupported emoji are just boxes so you can see why I don't want to show them. (unless we go full contentEditable and swap invalid ones for images like those sites are doing)

I'm trying to get access to a *nix machine (read: to be bothered installing a non-server distro somewhere) to test e.g. using the Noto Emoji font as a fallback.