joypixels / emoji-toolkit

The world's largest independent emoji font.
https://www.joypixels.com
Other
432 stars 48 forks source link

Missing Short Names #23

Open tjquillan opened 4 years ago

tjquillan commented 4 years ago

Some short names such as the ones listed below do not work when passed to joypixels.shortnameToImage()

umair-farrukh commented 4 years ago

I am having the same issue. how did you manage to solve this issue?

tjquillan commented 4 years ago

I didn't. What I do now, in my case, is translate the emoji to its' short name using joypixels.toShort() and then later use those names it provides on joypixels.shortnameToImage().

tuanalumi commented 3 years ago

My solution is to store emoji's unicode, then later, for display, I use HTML entity with that code. For example: &x1f617;

axi commented 3 years ago

:slightly_smiling_face: is gone too, :cry: still exist :cry:

I'm using shortnameToUnicode() method.

Last version ok: 5.0.5 First version nok: 5.5.0

:slight_smile: which looks like an alias is ok

mistergiantmedia commented 3 years ago

Yes also have this issue, :clown:translates to Unicode but :clown_face:does not. :clown_face:is an alternative short for :clown:, somehow it does not get the alternatives.

mistergiantmedia commented 3 years ago

Found a fix problem, went back to version 5 and now it works.

in client.php I copied public function shortnameToUnicodeCallback($m) from v5 to v6.6

And now :clown_face: works in v6.6