Re: send Arabic sms

2006-09-25 Thread Guillaume Cottenceau
Stipe Tolj st 'at' tolj.org writes:

 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.

Ah, nice to know. But what about SMSC-phone? Your solution
supposes that the phones also support an alternative charset for
arabic transport? Because if the SMSC needs to recode as UCS2 to
send to the phone then the win is minimal (e.g. SMS splitted).

-- 
Guillaume Cottenceau
Create your personal SMS or WAP Service - visit http://mobilefriends.ch/



Re: send Arabic sms

2006-09-25 Thread Stipe Tolj

Guillaume Cottenceau wrote:


Stipe Tolj st 'at' tolj.org writes:



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.



Ah, nice to know. But what about SMSC-phone? Your solution
supposes that the phones also support an alternative charset for
arabic transport? Because if the SMSC needs to recode as UCS2 to
send to the phone then the win is minimal (e.g. SMS splitted).


correct...

So it's still a tricky thing, since you would depend on the phone and it's 
support for some (non commonly used) ISO-8x or whatever charset.


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
---



Re: send Arabic sms

2006-09-25 Thread Guillaume Cottenceau
Andreas Fink andreas 'at' fink.org writes:

 Comparing to other languages, it doesn't make real sense to use
 some 8bit encoding (like UTF8) for Arabic.

I respectfully disagree. Arabic is alphabet-based, so 8bit is
more than enough, thus much more efficient. As an example, Arabic
Linux distros have long used ISO-8859-6 as system charset;
actually, unicode is better suited now, as ISO-8859-6 seems to be
a bit broken (I suspect the reason being that computing was
mostly designed/standardized by western entities) but
theoretically, using 2 bytes per character for an alphabet-based
language is wasteful.

However, we're going farther and farther from the kannel topic
there :)

-- 
Guillaume Cottenceau
Create your personal SMS or WAP Service - visit http://mobilefriends.ch/



Re: send Arabic sms

2006-09-25 Thread Andreas Fink
this might be true but I dont think phones have implemented this as  
its not part of the GSM standard.
In other words, even if one OPERATOR has it implemented and one  
PHONE, its no good as there are always phones on the market whcih  
wouldnt support it. Unicode is the way to go here.


On 25.09.2006, at 11:25, Guillaume Cottenceau wrote:


Andreas Fink andreas 'at' fink.org writes:


Comparing to other languages, it doesn't make real sense to use
some 8bit encoding (like UTF8) for Arabic.


I respectfully disagree. Arabic is alphabet-based, so 8bit is
more than enough, thus much more efficient. As an example, Arabic
Linux distros have long used ISO-8859-6 as system charset;
actually, unicode is better suited now, as ISO-8859-6 seems to be
a bit broken (I suspect the reason being that computing was
mostly designed/standardized by western entities) but
theoretically, using 2 bytes per character for an alphabet-based
language is wasteful.

However, we're going farther and farther from the kannel topic
there :)

--
Guillaume Cottenceau
Create your personal SMS or WAP Service - visit http:// 
mobilefriends.ch/





Re: send Arabic sms

2006-09-24 Thread Stipe Tolj

alaa a wrote:


Hi
I read that cygwin 2.510.2.2 has only 600 threads ,so it's not perfect 
choice to compile  kannel1.4.0 using cygwin2.510.2.2 to use it under 
windows xp.
Iwant to ask if there is any way to increase the number of threads in 
cygwin ??

best regards.


first of all, cygwin is currently at version 1.5.x, so I can't figure out what 
you refer to with version 2.510.x.


cygwin has no thread limit AFAIK, at least it's not within pthreads. And that's 
anyway not the reason for the unstable behaviour. It's more related to mutex 
locking etc.


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
---



Re: send Arabic sms

2006-09-23 Thread Stipe Tolj

Guillaume Cottenceau wrote:


alaa a 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
---



Re: send Arabic sms

2006-09-23 Thread alaa aaaaa

Hi
I read that cygwin 2.510.2.2 has only 600 threads ,so it's not perfect 
choice to compile  kannel1.4.0 using cygwin2.510.2.2 to use it under windows 
xp.
Iwant to ask if there is any way to increase the number of threads in cygwin 
??

best regards.



From: Stipe Tolj [EMAIL PROTECTED]
To: Guillaume Cottenceau [EMAIL PROTECTED]
CC: alaa a [EMAIL PROTECTED],  devel@kannel.org
Subject: Re: send Arabic sms
Date: Sat, 23 Sep 2006 14:52:03 +0200

Guillaume Cottenceau wrote:


alaa a 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
---


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/