Re: send Arabic sms

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Guillaume Cottenceau wrote:

> "alaa aaaaa" <alaa_info2005 'at' hotmail.com> writes:
> 
> 
>>Hi every one
>>
>>i use kannel1.4.0 in windows xp
>>i sent English sms using kannel sms gateway and smpp protocol successfully.
>>Now i need to send Arabic sms ,what changes should i do to do that ?
> 
> 
> You need to use UCS2 (and you have to know that one SMS is
> limited to 70 characters then). When using the send-sms interface
> to send an MT, use coding=2 and put the message in the text=
> field. The message needs to be expressed with the UTF16BE
> charset. Check the kannel user-guide documentation if needed,
> these settings are described.
> 
> Notice: how to convert your message to UTF16BE depends on your
> software environment and I don't know windoze myself.

in some cases an other option to UCS-2 is possible to obtain the "full" SMS 
payload length:

In SMPP the DCS value defines the character set encoding. SMPP does not define a 
reserved value for arrabic, but it may be possible that the SMSC provider has an 
assigned DCS value for a specific arabic encoding set. Please contact him 
directly to ask if they have assigned a DCS value for a specific arrabic encoding.

In any case: use CVS HEAD instead of 1.4.0, it's a 1.4.1RC.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
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.