Support `🙂` emoji from Unicode 7?


(Waldir Pimenta) #1

Are there plans to support the slight_smile emoji? It kinda irks me that :) gets translated to :smile:. Here’s what would be ideal, IMO:

  • :) --> :slight_smile: :slight_smile: (rendered from the .ai assets added to Twemoji in #67)
  • ;) --> :wink: :wink:
  • x) --> this one should be U+1F60A (smiling face with smiling eyes) but it’s unfortunately been adopted in some emoji packs (including Twemoji) as :blush: :blush:. Not sure what can be done to rectify this. There is no Unicode emoji specifically for a blushing face; if there is one eventually, :blush: can be mapped to it rather than U+1F60A and a different emoji code could be used for the latter. I’m not holding my breath, though.

Just for kicks, I’m listing below the corresponding eyes with the standard mouths. I added a checkmark or cross to indicate whether the shorthand is currently translated to the face in Discourse. It would be nice to have those mappings added.

  • :D --> :smiley: :heavy_check_mark:
  • ;D --> (missing in Unicode emoji, apparently)
  • xD --> :laughing: :x: (this is kinda redundant with the current :) --> :smile:, so I guess there wouldn’t be much lost if the :) mapping was changed)

  • :P --> :stuck_out_tongue: :heavy_check_mark:
  • ;P --> :stuck_out_tongue_winking_eye: :heavy_check_mark:
  • xP --> :stuck_out_tongue_closed_eyes: :x:

Preview the 2016 Emoji One smileys... We value feedback. :)
(Waldir Pimenta) #2

By the way, according to @codinghorror in this post, the current mappings were introduced by @eviltrout, so I’m pinging both to this thread :slight_smile:

(Jeff Atwood) #3

I am certainly very, very tired of hearing about this.


The ability to add custom emoji shortcuts would be nice.

Plus, it would be a good solution for this problem.

(Kane York) #5

I’m not sure if we want to add mappings for xD and xP, especially as “XP” might be a topic people are having a discussion about (experience points). Safer to not include those.

(Waldir Pimenta) #6

Good point. I suppose it wouldn’t be problematic if the implementation is case-sensitive.

(Sam Saffron) #7

If we are missing assets from twemoji we certainly want it updated

Suggested mapping is ok, but you are gonna have to confirm the other 3 emoji sets have the asset OR this has to be a site setting/customisation

(Waldir Pimenta) #8

The “slightly smiling face” is currently only present in Twemoji as an .ai asset. I’ve asked in #67 and #59 about how to move forward to include svg and png versions.

It is already present in Twemoji as mentioned above (although as an .ai file only so far); according to Family Tree — Emoji.Codes it is present in Emoji One; and according to this table it is present in the Windows set. I assume the emoji sets are you referring to are Windows, Android, Apple and Twemoji, right? If so, only Android and Apple are is (apparently) behind. Note that it was introduced only in Unicode 7.0.

(Kane York) #9

Android seems to have it for me:

(Waldir Pimenta) #10

@riking good call, I had seen it before but I forgot about it :slight_smile: Fixed in the post above.

I’m quite sure those comparison tables are frequently out-of-date. It’s very possible that Apple has added it too already, but that isn’t reflected in them yet.

(Mik01aj) #11

xD is a memory card. Yes, with this exact capitalization.

(loopback0 - TDWTF) #12

:( = :frowning: :x:

:( is not frowning.

(Waldir Pimenta) #13

It’s a pretty close approximation, though. The Unicode name for :frowning: is “Frowning face with open mouth” (U+1F626), but the Twemoji version doesn’t look like it has its mouth open at all. Until the new assets are released (with the slightly smiling and slightly frowning faces), this mapping seems like a good workaround.

btw, @eviltrout / @sam: this is probably known, but :( doesn’t seem to work immediately before other punctuation, e.g I tried writing “:(.” and “:(?” above, but had to use :frowning:. and :frowning:? for it to work. Is this intentional?

(Jeff Atwood) #14

This is now handled properly and :slightly_smiling: aka :slightly_smiling: is now the default map for :)

(Jeff Atwood) #15