Whats the URL you use when sending the message?

Use also the UTF-8 encoding to encode the text message, Ive been using
Kannel for a long time to send Arabic messages with both Cp1256 and UTF-8
without the need to make any changes on the code.


Best Regards,
Mohammed M I Sleem
http://www.abusleem.net

http://www.freakle.com - The Search Freak

http://www.colorle.com - color your Google search



On Sun, Oct 24, 2010 at 5:00 PM, hisham malik <[email protected]>wrote:

> No need to do any changes in the code itself. You can simply pass in the
> charset of the passed message when posting the message to kannel via http.
> In addition, you will need to pass the 'coding=2' along with the message.
> Refer to kannel userguide for the charset and coding parameter details. For
> example, to send message using UTF-8, you can use the following http request
> format:
>
> http://127.0.0.1:7000/cgi-bin/sendsms?username=
> <user>&password=<password>&smsc=<smsc>&charset=UTF-8&coding=2&to=<receiver-number>&from=<sender>&text=<message>
>
>
> On Sun, Oct 24, 2010 at 5:49 PM, Saeed Ashour <[email protected]> wrote:
>
>> Greetings,
>>
>> I want to send arabic sms through kannel, And my provider request me to
>> send data_codign = 0x8 so I changed the value of
>> pdu->u.submit_sm.data_coding = 0x8; in smsc_smpp.c file & recompile the
>> kannel after this changes I changed the alt_charset vlaue in kannel.conf to
>> UTF-16BE or UCS-2
>> but the message encoding still utf-8 so how can enforce kannel to use
>> UCS-2 encodigg & keep the submitted data_coding=8 .
>>
>
>

Reply via email to