4 ms·
U+FE0E is really interesting, it forces monochrome emoji usage on the immediately preceded emoji (like a skin tone modifier or any other modifier). I have previ
by matthberg 6y ago
U+FE0E is really interesting, it forces monochrome emoji usage on the immediately preceded emoji (like a skin tone modifier or any other modifier). I have previously run into the issue of the play-pause characters (U+25B6, U+23F8) being inconsistently replaced with their color versions when I was trying to use them in a UI. It looks like this is a great guarantee that that won't happen.
Also is it seems hacker news automatically removes emoji, maybe this modifier would allow them to keep them (in b/w form) and still maintain the polished appearance.
- boogies 6y ago> Also is it seems hacker news automatically removes emoji And some other characters like UPPER HALF BLOCK, LOWER HALF BLOCK, FULL BLOCK, LEFT HALF BLOCK, & RIGHT HALF BLOCK, and LIGHT SHADE, MEDIUM SHADE, & DARK SHADE
- deleted 6y ago[deleted]
- saagarjha 6y agoIt won't, because U+FE0E is just a suggestion, not a mandate. If your system doesn't have an appropriate monochrome replacement it will just fallback on the colored emoji.
- saurik 6y agoThat's not the behavior in the sample screenshot here: https://twitter.com/ridiculous_fish/status/1089421033793236993 https://twitter.com/ridiculous_fish/status/10894210337932369... <- Chrome rendered a replacement character rather than fall back to the emoji.
- saagarjha 6y agoSafari renders an emoji for me in the tweet right above that one.
- renewiltord 6y agoInteresting. My Chrome on Ubuntu seems to have differing behaviour.
- ridiculous_fish 6y agoU+FE0E may also make the previous character less wide. It's very surprising that appending a code point can make wcswidth decrease. https://twitter.com/ridiculous_fish/status/1089416114361102343 https://twitter.com/ridiculous_fish/status/10894161143611023...
- deleted 6y ago[deleted]
- earthboundkid 6y agoOn my site, I wanted the non-emoji version of on a button, so I had to use U+FE0E to force it to not be red on some browsers.
- sverhagen 6y agoI was shocked just now reading about this "variation selector", what is next, conditionals and variables??? I thought (still think) Unicode is for text, these are more like control characters in some markup language or a transmission protocol. It seems gross. I obviously don't know, but something tells me this has little real world support and degrades poorly?
- pjc50 6y agoVariant selection was required for some languages, and was a convenient way to implement "combining" characters. Once the feature existed its use got extended to all sorts of cases, just like the flags are "ligatures".