-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Disability Emojis aren't supported yet, but others are #5835
Comments
Thanks for the issue! We'll take your request into consideration and follow up if we decide to tackle this issue. To our amazing contributors: please wait until we add a To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please ping @maestromac or @rhymes or @citizen428 from the DEV team and we will follow up within 3 business days. For full info on how to contribute, please check out our contributors guide. |
Hi @alequetzalli, thanks a lot for the issue, I have a question because I'm totally ignorant on the subject: where can I find more information on the emojis you were trying to insert? Are they part of the newly released batch of emojis by the unicode consortium or something else entirely? Basically what I'm asking is how to replicate the bug by finding out how you insert the emoji so that we can add more detail to this issue. Thank you! |
Dug into this out of curiosity, it looks like the first emoji is guide dog (U+1F9AE), and the second is service dog (U+1F415 U+200D U+1F9BA, which is DOG-ZERO WIDTH JOINER-SAFETYVEST). They are numbers 509 and 510 here: https://unicode.org/emoji/charts/full-emoji-list.html They seem to have been a part of Unicode V12. They render fine on Chrome for Windows for me, but not macOS. |
@rhymes Yes, @JimmyAustin got it! His link gives you the unicodes you need: https://unicode.org/emoji/charts/full-emoji-list.html In macOS (what I am using), the disability guide dogs and others do not render. All you have to do is try to copy/paste the emojis that Jimmy mentioned. If you don't know how, you can even just look them up on Twitter and copy/paste from there? XD As for others still missing...
|
Thank you both @JimmyAustin and @alequetzalli, I definitely noticed it doesn't render on macOS 10.14.6: I can see those in Twitter as you screenshotted: One thing I noticed is that I can't find any of those in the "Emoji & Symbols" menu that every macOS app has: I also tried by enabling "Unicode Hex input" in the keyboard system preferences: but I couldn't input emojis (it doesn't accept more than 4 chars, I read around you hare supposed to type Option + the hex code), I can only do it with the emoji & symbols window This makes me think that macOS doesn't fully support recent versions of Unicode I then started to investigate a bit and this is what I found:
>>> print("\u1F9AE")
ᾚE
>>> print("\N{POODLE}")
🐩
>>> print("\N{DOG}"
... )
🐕
>>> print("\N{DOG}")
🐕
>>> print("\N{ORANGUTAN}")
🦧
>>> print("\N{GUIDE DOG}")
🦮
>>> print("\N{SERVICE DOG}")
File "<stdin>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-14: unknown Unicode character name
>>> print("\N{WOLF}")
File "<stdin>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-7: unknown Unicode character name
>>> print("\N{FOX}")
File "<stdin>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-6: unknown Unicode character name
>>> unicodedata.lookup("CAT FACE")
'🐱'
>>> print("\N{CAT FACE}")
🐱 so nope, Python doesn't support all the recent emojis. The same using the most popular emoji library: >>> emoji.emojize(":service_dog:")
'🐕\u200d🦺'
>>> emoji.emojize(":guide_dog:")
'🦮'
>>> emoji.emojize(":poodle:")
'🐩' Same happens in Ruby with the newer version of the gemoji gem (the one we use to interpret emojis in DEV which was developed by Github): [8] pry(main)> Emoji.find_by_alias("guide_dog").raw
=> "🦮"
[9] pry(main)> Emoji.find_by_alias("service_dog").raw
=> "🐕🦺"
[10] pry(main)> Emoji.find_by_alias("poodle").raw
=> "🐩" I'm not sure how Twitter does it though but I guess it's a custom parser paired with a custom set of icons, unlike these ones which seem to rely on the rendering capabilities of the operating system like ours. A thing we could do in the meantime is open an issue to Github's library and see if they can help somehow... |
@rhymes thank you for detailed reply! I really appreciate the level of detail you put into researching this for the disabled community. It may seem like a silly thing, but it feels nice to have an emoji that looks like me. Follow up question... |
I did some digging myself, according to this Apple added Unicode 12 support last fall (iOS 13, macOS Catalina). The ones from your list I tried seem to render fine for me on Catalina: |
@citizen428 I am on macOS Mojave... perhaps Catalina is the first version to support them?! |
@alequetzalli Yes, the article I linked above says that Unicode 12 support was added with Catalina/iOS 13. |
Thanks @citizen428 for finding that out, I googled "macOS unicode versions" for a bit but I couldn't find a specific page that listed which macOS version supported which Unicode version. I think on our part the only thing we can do is upgrade If, as we confirmed, the limitation is due to rendering capabilities in the operating system, I don't think opening an issue to What do you think @alequetzalli @citizen428 ? |
Sent a PR to support the emojis server side #5842 |
@citizen428 Ah! This is so useful. So it sounds like the solution is to upgrade to Catalina... which I hear keeps crashing everyone's systems... so.. yay? 😂 |
@rhymes that seems like a good solution! thank you :) |
Describe the bug
Hello :)
I want to use the service dog emoji in my dev to posts, but they are not supported.
Can your team add to a Sprint to support disability emojis too?
To Reproduce
Just try to copy/paste any major disability emoji and you'll get the 3 squares of death.
Expected behavior
Have disability emojis show up, similar to other emojis that work ok.
Screenshots
screenshot attached!
Desktop (please complete the following information):
Smartphone (please complete the following information):
I don't use this platform on mobile so I haven't tried it there.
The text was updated successfully, but these errors were encountered: