Try to add “&coding=2” to your send-url.

 

== Rene

 

From: devel [mailto:devel-boun...@kannel.org] On Behalf Of Qqblog Qqblog
Sent: dinsdag 16 juli 2013 13:52
To: devel@kannel.org
Subject: unable to change data_coding 

 

i would like to send unicode via http

 

kannel 1.4.3, debian 5

 

text = 大

(after urlencode) %E5%A4%A7

 

text=%E5%A4%A7code=2&charset=utf-8

 

the received msg is ?

 

i tried add to smsc group

 

alt-charset = "UTF-8"

alt-dcs=1

 

but none of them works!!

 

my smpp provider requires DCS=8 for unicode to work.

 

SMPP PDU 0xb927e0 dump:
2013-07-16 19:14:48 [9943] [6] DEBUG:   type_name: submit_sm
2013-07-16 19:14:48 [9943] [6] DEBUG:   command_id: 4 = 0x00000004
2013-07-16 19:14:48 [9943] [6] DEBUG:   command_status: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   sequence_number: 117 = 0x00000075
2013-07-16 19:14:48 [9943] [6] DEBUG:   service_type: NULL
2013-07-16 19:14:48 [9943] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2013-07-16 19:14:48 [9943] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   source_addr: 
2013-07-16 19:14:48 [9943] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2013-07-16 19:14:48 [9943] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2013-07-16 19:14:48 [9943] [6] DEBUG:   destination_addr:
2013-07-16 19:14:48 [9943] [6] DEBUG:   esm_class: 3 = 0x00000003
2013-07-16 19:14:48 [9943] [6] DEBUG:   protocol_id: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   priority_flag: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   schedule_delivery_time: NULL
2013-07-16 19:14:48 [9943] [6] DEBUG:   validity_period: NULL
2013-07-16 19:14:48 [9943] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2013-07-16 19:14:48 [9943] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   data_coding: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2013-07-16 19:14:48 [9943] [6] DEBUG:   sm_length: 1 = 0x00000001
2013-07-16 19:14:48 [9943] [6] DEBUG:   short_message: "?"
2013-07-16 19:14:48 [9943] [6] DEBUG: SMPP PDU dump ends.

 

pls kindly advise.

Reply via email to