USSD消息中的最大字符数是多少? [英] What is the maximum number of characters in an USSD message?
问题描述
我了解到USSD消息包含160个字节.对于7位数据编码方案,最大字符数为160 * 8/7,即182个字符.我不清楚UCS2编码的最大字符数是多少.通常情况下,大约是160/2,但是我对此有一些混杂的信息.
I've understood that an USSD message consists of 160 bytes. For 7 bit data coding schemes, the maximum number of characters is 160*8/7 which gives 182 characters. It's unclear to me what is the maximum number of characters for UCS2 encoding. Normally, it would be something like 160/2, but I have some mixed information on this.
推荐答案
USSD消息的最大大小为160个字节.对于GSM 7位消息,您可以正确地说出限制为182个字符.每个定义的UC2编码固定为每个字符2个字节,因此您最多可以包含80个字符.
The maximum size of a USSD message is 160 bytes. For GSM 7 Bit messages you are correct in saying the limit is 182 characters. UC2 encoding per definition is fixed 2 bytes per character so you will have a maximum of 80 characters.
这篇关于USSD消息中的最大字符数是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!