I have a UITextView
which I call messageField
. The data within that messageField
is POST
-ed to server in JSON format. When th
One thing to be aware of with Emoji - if your json encoder is set to produce ASCII output (i.e. using the \u<4 hex digits> character format), some Emoji characters will break because they use more than two bytes and thus don't fit in the 4 hex digits allowed.
So in python for example, be sure to use:
json.dumps(