gpt4 book ai didi

sms - SMS 消息的最大长度是多少?

转载 作者:行者123 更新时间:2023-12-03 23:03:17 28 4
gpt4 key购买 nike

通过 Clickatell API 发送英语和西类牙语消息时,SMS 消息的最大长度是多少?
英语和西类牙语的消息长度有区别吗,因为西类牙语可能包含 Unicode 字符?

最佳答案

来自 SMS wikipedia page :

Messages are sent with the MAP MO- and MT-ForwardSM operations, whose payload length is limited by the constraints of the signaling protocol to precisely 140 octets (140 octets = 140 * 8 bits = 1120 bits).

Depending on which alphabet the subscriber has configured in the handset, this leads to the maximum individual short message sizes of 160 7-bit characters, 140 8-bit characters, or 70 16-bit characters.


至于你的另一个问题:

Is there is a difference between English and Spanish message lengths, since Spanish may contain Unicode characters?


不,没有区别,因为英语和西类牙语都完全包含在 8-bit Latin 1 character set 中。 .

关于sms - SMS 消息的最大长度是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21788876/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com