On Wednesday, July 17, 2013 3:45:12 PM, [email protected] wrote:
Send devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.kannel.org/mailman/listinfo/devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of devel digest..."


Today's Topics:

    1. unable to change data_coding  (Qqblog Qqblog)
    2. RE: unable to change data_coding  (Rene Kluwen)


----------------------------------------------------------------------

Message: 1
Date: Tue, 16 Jul 2013 19:52:16 +0800 (SGT)
From: Qqblog Qqblog <[email protected]>
To: "[email protected]" <[email protected]>
Subject: unable to change data_coding
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.kannel.org/pipermail/devel/attachments/20130716/707ad17c/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 16 Jul 2013 15:21:49 +0200
From: "Rene Kluwen" <[email protected]>
To: "'Qqblog Qqblog'" <[email protected]>, <[email protected]>
Subject: RE: unable to change data_coding
Message-ID: <023501ce8227$6e08f7e0$4a1ae7a0$@[email protected]>
Content-Type: text/plain; charset="utf-8"

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



== Rene



From: devel [mailto:[email protected]] On Behalf Of Qqblog Qqblog
Sent: dinsdag 16 juli 2013 13:52
To: [email protected]
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.kannel.org/pipermail/devel/attachments/20130716/766d734e/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
devel mailing list
[email protected]
http://www.kannel.org/mailman/listinfo/devel


------------------------------

End of devel Digest, Vol 83, Issue 10
*************************************

Try using coding=2&charset=UCS-16BE in send-url

Reply via email to