Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: Error send (Type message emoticons)

$
0
0

http://stackoverflow.com/questions/23576507/emojicons-send-face-icons-not-work-s end-number-icons-work/23589178?noredirect=1#comment36253267_23589178

 

ISO-8859-1 only encodes characters less than U+FFFF.  You are trying to encode U+1F603, which is higher than U+FFFF. You have that character in a Java string.  Java strings are UTF-16 inherently, which is why it looks like you have two characters.  That one codepoint, U+1F603, is in your Java string as two halves, known as a "surrogate pair" (see: en.wikipedia.org/wiki/UTF-16 for more info).  Your XMPP library is responsible for turning UTF-16 strings into UTF-8 in order to produce valid XMPP.  If it's not, you either have to fix the library or get someone else to fix it.


Viewing all articles
Browse latest Browse all 11593

Trending Articles