Skip to content

Content length check fails in browser (but not in Node) when content contains emojis  #17

@jhsware

Description

@jhsware

Issue related to this:

    // Characters such as emojis are handled differently by Javascript. They are
    // called an astral symbol and are respresented by a surrogate pair, ie two chars.
    // Some references:
    // https://mathiasbynens.be/notes/javascript-unicode
    // https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions