Skip to content

Allow pars escaped surrogate pairs #32

Closed
@fiserro

Description

@fiserro

Surrogate pairs are parsed as two 16bit chars instead of one 32bit char.
For example this Json contains two 32bit emojis:
[ { "id" : "1", "message" : "\uD83D\uDE0B\uD83C\uDF70" } ]

We'r using java faster xml lib on one side FasterXML/jackson-core#223 and nodejs jsonparse on the other side.

There is a diff with fix:
diff.txt

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