4 ms·
HN renders emojis in color?! I’m reading that on an iPad and see a red heart. That’s a first
by dgellow 3mo ago
HN renders emojis in color?! I’m reading that on an iPad and see a red heart. That’s a first
- minraws 3mo agothat's specific to your os it renders in os emoji colors iirc.
- dgellow 3mo agoI’ve always seen emoji being stripped on HN, so it’s very surprising to see colors for once
- sylware 3mo agoWell, in theory, with proper UTF-8 support you don't need to filter out anything. Unsupported unicode code points are just rendered using a place holder.
- culi 3mo agoThey've always been stripped for me as well. This "emoji" actually appears black for me however. I think the reason its not stripped is because it's actually "U+2665 : BLACK HEART SUIT {valentine}" which predates the emojis. Lots of fonts and OSes will render these older unicode symbols as emojis
- dijit 3mo agothis is the first emoji I see on HN at all, they’re filtered out in comments.
- tom_ 3mo agoI don't remember ever seeing one before either. Will the floodgates now open?
- culi 3mo agoIt's because it's not actually an emoji (though your OS/font might decide to render it like one) https://www.compart.com/en/unicode/U+2665 https://www.compart.com/en/unicode/U+2665 It's part of the card suite icons ♠♡♢♣♤♥♦♧
- pkulak 3mo agoNot up to HN, it’s up to your font and font rendering.
- cyptus 3mo agofirst time also! depending on iOS for me.
- clickety_clack 3mo agoI only have a fairly basic understanding of encodings, but is this one by any chance in one of the smaller “standard” character sets and not in the huge Unicode “emoji” set?
- culi 3mo agoyes, exactly: ♠♡♢♣♤♥♦♧
- dgellow 3mo agoFunny, I see the 1st, 4th, 6th and 7th in color. The outlined ones look like standard font characters
- smalltorch 3mo ago♚ ♛ ♜ ♝ ♞ ♟ ♔ ♕ ♖ ♗ ♘ ♙ Chess pieces too. I think you could technically play a chess game here pretty easily if you were so inclined.
- 3mo ago
- prmoustache 3mo agoIt is not an emoji but a unicode character and HN doesn't render it, your OS does.
- F3nd0 3mo agoIt may not be in the Emoji character block formally, but casually speaking it’s not wrong to call it an emoji, since emoji is basically just a picture character, and this is no less a picture character than what’s formally codified as ‘Emoji’ in the Unicode standard.
- dgellow 3mo agoIn addition to this, what I meant to convey is that it does show exactly like the iOS/iPadOS emojis, in color, with details, etc. Not the non-emoji font unicode character