UCS2 characters in EMS with picture message | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through July 24, 2007 ⬆ |
◄ ► |
Author | Message | |||
asher tarno New member Username: Cyclid Post Number: 2 Registered: 11-2006 |
hi, i send an EMS with picture message and text. while sending an ascii text (1 octet per character) everything works fine. but when i try to send ucs2 characters (2 octets per character, needed for languages like russian, hebrew, arabic and so on) the phone parses the text according to the 1 octet per character logics. i solved the same issue in SM messages easily, by switching the second octet of "text" part to be 01 (3001... instead of 3000 for ascii). but in case of EMS i don't know how to flag the fact that the data is in ucs2 format. here is the example of the message i send: udh: 5f125d00090aac589926a8572744a0ac589926a8572744a0ac589926a8572744a0ac589926a85727 44a0ac589926a8572744a0ac589926a8572744a0ac589926a8572744a0ac589926a8572744a0ac58 9926a8572744a0ac589926a8572744a0 data in ucs2: 05d0 (here i send one letter encoded as 05d0, but the phone displays two characters, 05 and d0). thank you! | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7270 Registered: 10-2002 |
Hi, I'm a bit confused how you solved this for regular SMS sending, as the technique you describe does not make sense to me. To specify that the text is encoded in Unicode, you need to set DCS=8 (data coding scheme). -bn |