News for hackers. Stuff that matters.
Re:Is This an Emoji? by rahkiin on Saturday July 29, 2023 @05:02PM (#36924537)
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?
Re:Is This an Emoji? by Kerrick on Saturday July 29, 2023 @07:33PM (#36925962)
The end of The article describes how 1 grapheme is a mostly good solution except that not all emoji work with the JS used to validate that, and the JS to validate it isn’t available in Firefox.
Re:Is This an Emoji? by rahkiin on Sunday July 30, 2023 @03:06AM (#36928622)
But this would be a back-end check, not a front-end check. Why would lack of support in Firefox matter?