SMS

Nov. 12th, 2005 10:22 pm
[identity profile] bazik.livejournal.com posting in [community profile] useless_faq
А почему в одном SMS именно 160 символов (если без кодировки)? Почему не 150 или 200?
Наверняка же есть какое-то объяснение.

Date: 2005-11-12 07:32 pm (UTC)
From: [identity profile] unixblog.livejournal.com
SMS was designed to deliver short bursts of data such as numerical pages. To avoid overloading the system with more than the standard forward-and-response operation, the inventors of SMS agreed on a 160-character maximum message size.

But the 160-character limit is not absolute. Length limitations may vary depending on the network, phone model and wireless carrier. Some phones don't allow you to keep typing once the 160-character limit is reached. You must send your message before continuing. However, some services will automatically break any message you send into chunks of 160 characters or less. So, you can type and send a long message, but it will be delivered as several messages.

Date: 2005-11-12 08:04 pm (UTC)
From: [identity profile] f2065.livejournal.com
Потому что на поле текста - 140 байт ;)
160 символов - это потому что они по 7 бит - 140/7*8=160. Если есть русские (или любые другие начиональные) символы - то используется юникод и на символ по 16бит - поэтому русские смс не более 70 знаков.

Общий размер смс-пакета - 163 байта (из них 140 - текст и 23 разные заголовки).

Откуда взялось число 163 - не знаю ;)
Поищи на www.etsi.org (или на поисковиках) документ GSM 03.40 - там подробно описана спецификация СМС...

Date: 2005-11-13 12:45 am (UTC)
From: [identity profile] elenushka.livejournal.com
о, спасибо, даже не думала, что когда-нибудь смогу узнать эту тайну)

Date: 2005-11-13 10:04 am (UTC)
From: [identity profile] blackka.livejournal.com
а почему именно по 7 бит, а не по 6, например.
как в таком случае устроены китайские смс-сообщения - они ведь иероглифами пишут?

Date: 2005-11-13 10:27 am (UTC)
From: [identity profile] tellyou.livejournal.com
для sms они используют транслитерацию.

Date: 2005-11-13 04:07 pm (UTC)
From: [identity profile] mephiztofel.livejournal.com
Это вопрос из разряда - Как выглядят китайские печатные машинки?

Date: 2005-11-12 10:05 pm (UTC)
From: [identity profile] sombre-sleep.livejournal.com
Программисты вообще очень странные люди ;).