rilmodem/ofono — pull request #76 by alfonsosanchezbeato (2014-04-22 13:00:39+00:00)
Title: Fix for LP#1269017 : Use UTF-16 instead of UCS-2 for SMS

Although UTF-16 is not mentioned in the 3gpp standards as a valid SMS coding, most smartphones use it instead of plain UCS-2 when UCS-2 is the encoding specified in the SMS header. This allows the phone to send characters out of the basic multiligual plane, like emojis. As these characters are codified using codes forbidden for UCS-2, all valid UCS-2 code points can still be sent.

To test receiving: Use a smartphone that can send emoticons in SMS, and try that. For instance, send Unicode code points 0x1F62E, 0x1F631 or 0x1F630.

To test sending, you can copy the output of a received message and send it back. For instance:
send-sms 603664523 "x😱x" 0
or similar