I want this string to be parsed for VOIP Notification for iOS to binary string:
"{\"data\":{\"text\":\"❤️\"}}"
I expected the data printed on the Erlang shell to be:
<<"{\"data\":{\"text\":\"❤️\"}}">>
But when printed it shows:
{"data",[{"text",[10084,65039]}]}
I tried the solution from Encoding emoji in Erlang but it just gives me a bit string of the emoji which is:
{<<"data">>,{[{<<"text">>,<<100,39,15,254>>}]}}
How do I properly show it in Unicode in the Erlang shell?