[HN Gopher] Is This an Emoji?
___________________________________________________________________
Is This an Emoji?
Author : whack
Score : 28 points
Date : 2023-07-29 18:47 UTC (4 hours ago)
(HTM) web link (spiffy.tech)
(TXT) w3m dump (spiffy.tech)
| jer0me wrote:
| Ironically, Hacker News purged the emoji from the title of this
| post.
| the_gipsy wrote:
| Isn't it all font dependent anyway? A lot of "non emoji" symbols
| get stylized like emojis in many popular fonts.
| charcircuit wrote:
| Similarly the length of a string is font dependent which can be
| hard to handle server side.
| jfk13 wrote:
| A minor correction:
|
| > Let's say we want to display the emoji for a brown man, "<brown
| man>". There isn't a code point for that. Instead we use "<man>
| ZWJ <brown>".
|
| (with the emoji replaced, as I expect HN would strip them).
|
| That's inaccurate: skin tone modifiers are used directly after a
| base emoji character, _without_ a zero-width joiner in between.
| [deleted]
| meibo wrote:
| So much work just to take away people's choice to name their
| reading lists anything they want. Considering they even mention
| the database needing to be involved way more than it should be,
| maybe they should rethink this.
| chrismcb wrote:
| But why? You even asked at the very beginning "I shouldn't accept
| just anything, right?" But why not? Like what is going to happen
| if someone uses a "non emoji?" Nothing. Nothing will happen. Well
| now you will tell at the person and tell them to use an emoji.
| But if you just accepted everything, it would just work. It would
| save you time and your users grief. My main question here is, how
| future proof is this?
| Fraterkes wrote:
| Their vision for their tool is that you tag stuff with emoji
| instead of characters, an arbitrary, deliberate limitation.
| Should they adjust that just because of a Unicode
| implementation detail?
| padjo wrote:
| I think the point is that there's no need to go to such
| lengths to enforce it. They build the picker UI so most users
| will just pick an emoji using that. Sometimes it's important
| to limit degrees of freedom with strict validation but in
| this case I'd wonder if a non emoji would really cause a
| problem.
| rahkiin wrote:
| I was thinking the same thing. Why not limit input through the
| api to 1 grapheme if misuse is the worry? Or why accept all
| emoji and not a sensible sublist like Notion?
___________________________________________________________________
(page generated 2023-07-29 23:01 UTC)