Skip to content

html.decode: Support astral symbols #2

@mathiasbynens

Description

@mathiasbynens
> html.decode('𝌆'); // U+1D306 TETRAGRAM FOR CENTRE
'\uD306' // should be `\uD834\uDF06`

You could use he’s he.decode() as a dependency for this.

Related: #1.

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