(skeletor is leading by example by adding that unnecessary apostrophe…)

  • dan@upvote.au
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 months ago

    You just need to ensure you validate character by character (NOT byte by byte) and allow characters in the Emoji Unicode ranges. It’s well-defined in the Unicode standard. Using a library is a great idea though.