Skip to content

Emoji Surrogate support #114

Description

@c-bik

Hi,
I am trying to encode maps with emoji surrogate pairs.
But when I am attempting:

jsx:encode(#{emoji => <<"\uXXXX\uXXXX">>}).
% The result is
<<"{\"emoji\":\"\\uXXXX\\uXXXX\"}">>

In which way should I construct the map so that "\uXXXX are not escaped again (like "\\uXXXX")?

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