So just counting the chars in my incoming hindi text * 2 will get the number
characters for sending sms?


Im doing the conversion like this in php.
1. get the numeric ascii value of the letter
2. convert it to hex and add a percent (%)


--------
Thanks
Jinson Abraham
MobME Wireless Solutions Pvt. Ltd
Cochin
+91 4846492646


MobME storms into Emerging 50 Companies in India by Nasscom



2010/1/19 Nikos Balkanas <n...@amdtelecom.net>

>  Hi,
>
> Each unicode character counts as 2 regular chars. That is, unicode chars
> above the regular ASCII (hindu chars for example).
>
> BR,
> Nikos
>
> ----- Original Message -----
>  *From:* Jinson <jin...@mobme.in>
> *To:* users <users@kannel.org>
> *Sent:* Tuesday, January 19, 2010 8:39 AM
> *Subject:* Count SMS units for Unicode Messages
>
> Hello Group,
>
> How do we count SMS units for a unicode message?
>
> Suppose I want to submit Hindi Messages from a PHP script, how do I
> calculate the number for characters and units consumed?
> --------
> Thanks
> Jinson Abraham
>
>

Reply via email to