SMS_DATA_ENCODING
A version of this page is also available for
4/8/2010
This enumeration specifies the data encoding that is primarily used for outgoing text message types in SmsSendMessage calls. Refer to GSM specification 03.40 "Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS)" for details.
Syntax
enum SMS_DATA_ENCODING {
SMSDE_OPTIMAL=0,
SMSDE_GSM,
SMSDE_UCS2,
};
Enumerators
- SMSDE_OPTIMAL
Chooses the data encoding that fully represents all of the characters in the least amount of space.
- SMSDE_GSM
Use the default GSM 7-bit encoding specified in GSM specification 03.38 "Digital cellular telecommunications system (Phase 2+); Alphabets and language-specific information." Characters that cannot be represented by this encoding will not be transmitted correctly.
- SMSDE_UCS2
Use the Unicode UCS2 encoding.
Remarks
This character encoding should be supported for CDMA2000 Short Message Service (SMS) . If the Unicode and GSM characters are not supported by the network, the characters will be remapped to ASCII if feasible to maintain compatibility.
Because the 7-bit ASCII character set is not a superset of the 7-bit GSM encoding, you will not be able to remap some characters. In those cases, insert filler characters. For example, if the application inserts the non-7-bit ASCII character (∆) or (ǜ), that character will be replaced by ASCII character 21 (§).
Requirements
Header | sms.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |