开发者

What encoding is used in SMS of iPhone?

Wha开发者_运维知识库t encoding is used in SMS of iPhone?


7-bit if you only use the characters from the “plain” GSM character set in the whole message, 16-bit UTF-16 if you use any characters outside this set.


FYI - mixed success when using GSM Extended Char Set (GSM 03.38) where subset of special chars use 2 x 7 bit chars but basic chars are 1 x 7 bit per char (see long-sms-text-messages-and-the-160-character-limit for good explanation).

Messages with square brackets [ ] (GSM 03.38) routed via one carrier are correctly decoded on iPhone, but the square bracket + following letter are scrambled when received via another carrier (to the same iPhone). Appears to be carrier dependent and not specifically related to iPhone because problem also seen on Android.

So beware is using Extended Char Set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜