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

  • danA
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    10 months ago

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