Try coding=2 and charset=utf-8 to send unicode messages.
On Tue, Jul 26, 2011 at 10:04 AM, Jinson Abraham <[email protected]> wrote: > Hello Users, > > Is there any way to set the value of data_coding to 8. I've tried different > combinations of mclass, mwi, compress... > > > I'm trying to send a unicode message. > > 2011-07-26 05:01:31 [7931] [34] DEBUG: type_name: submit_sm > 2011-07-26 05:01:31 [7931] [34] DEBUG: command_id: 4 = 0x00000004 > 2011-07-26 05:01:31 [7931] [34] DEBUG: command_status: 0 = 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: sequence_number: 39532 = > 0x00009a6c > 2011-07-26 05:01:31 [7931] [34] DEBUG: service_type: NULL > 2011-07-26 05:01:31 [7931] [34] DEBUG: source_addr_ton: 5 = 0x00000005 > 2011-07-26 05:01:31 [7931] [34] DEBUG: source_addr_npi: 0 = 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: source_addr: "xxxx" > 2011-07-26 05:01:31 [7931] [34] DEBUG: dest_addr_ton: 2 = 0x00000002 > 2011-07-26 05:01:31 [7931] [34] DEBUG: dest_addr_npi: 1 = 0x00000001 > 2011-07-26 05:01:31 [7931] [34] DEBUG: destination_addr: "xxxxxxxx" > 2011-07-26 05:01:31 [7931] [34] DEBUG: esm_class: 3 = 0x00000003 > 2011-07-26 05:01:31 [7931] [34] DEBUG: protocol_id: 0 = 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: priority_flag: 0 = 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: schedule_delivery_time: NULL > 2011-07-26 05:01:31 [7931] [34] DEBUG: validity_period: NULL > 2011-07-26 05:01:31 [7931] [34] DEBUG: registered_delivery: 0 = > 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: data_coding: 235 = 0x000000eb > 2011-07-26 05:01:31 [7931] [34] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2011-07-26 05:01:31 [7931] [34] DEBUG: sm_length: 42 = 0x0000002a > 2011-07-26 05:01:31 [7931] [34] DEBUG: short_message: > 2011-07-26 05:01:31 [7931] [34] DEBUG: Octet string at 0x2aaab00025f0: > 2011-07-26 05:01:31 [7931] [34] DEBUG: len: 42 > 2011-07-26 05:01:31 [7931] [34] DEBUG: size: 43 > 2011-07-26 05:01:31 [7931] [34] DEBUG: immutable: 0 > 2011-07-26 05:01:31 [7931] [34] DEBUG: data: 06 2e 06 2a 06 28 06 27 > 06 31 00 20 06 45 06 46 ...*.(.'.1. .E.F > 2011-07-26 05:01:31 [7931] [34] DEBUG: data: 00 20 00 66 00 72 00 6f > 00 6d 00 20 00 6d 00 6f . .f.r.o.m. .m.o > 2011-07-26 05:01:31 [7931] [34] DEBUG: data: 00 62 00 6d 00 65 00 20 > 00 20 .x.x.x. . > 2011-07-26 05:01:31 [7931] [34] DEBUG: Octet string dump ends. > 2011-07-26 05:01:31 [7931] [34] DEBUG: SMPP PDU dump ends. > > > Thanks > Jinson. > -- Regards Samuel Anwar +92-321-526-2334 skype:mysteriousam www.ooober.com
