-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji Surrogate support #114
Comments
you can use the this looks like maybe a bug in the string escaping however. i will need to take a closer look |
hi @talentdeficit, Is there an update on this issue ? |
You are trying to do a strange/wrong thing. There can be no surrogates in utf-8 binaries.
|
Agree!
@llelf is this symmetric? (no erl vm at hand atm to check). > > #{ <<"rabbit">> => <<"\x{1f407}"/utf8>> } = jsx:decode(<<"{\"rabbit\":\"\\ud83d\\udc07\"}"/utf8>>, [???]). |
Hi,
I am trying to encode maps with emoji surrogate pairs.
But when I am attempting:
In which way should I construct the map so that
"\uXXXX
are not escaped again (like"\\uXXXX"
)?The text was updated successfully, but these errors were encountered: