Re: Need some help with internal code in kannel

hisham malik <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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 .
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.