Nowsms SMPP server and Kannel

Nowsms SMPP server and Kannel SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 02, 2006 » Nowsms SMPP server and Kannel « Previous || Next »
Author Message
Ihab Abdulhalim
New member
Username: Ihhabtawfig

Post Number: 1
Registered: 05-2006
Posted on Friday, May 05, 2006 - 04:23 pm:   

Hi ,,
We are using nowsms as smpp server linked to operator via multible GSM Modems ,
the problem is with arabic text , it seems that nowsms furthere encode the text after we send it as ISO-8859-6 , so the resulting msg in the handset is garbag ,how can we control that ?
thanx
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5889
Registered: 10-2002
Posted on Friday, May 05, 2006 - 06:31 pm:   

Hi,

If you are submitting to NowSMS via SMPP, then you can only submit Arabic text in Unicode format.

You cannot use ISO-8859-6 when submitting via SMPP. We only support ISO-8859-1, IA5 (GSM) or Unicode in the SMPP interface.

In the SMPP specification, I am not aware of any setting that would allow you to specify ISO-8859-6 as the input character set. (If there was, we would support it.) So, it's more of a limitation of the protocol definition ... and you have to use Unicode.

If you are submitting via HTTP, you can use ISO-8859-6 ... you just need to include "&charset=iso-8859-6" in the URL specification to indicate the character set that you are using.

-bn
Ihab Abdulhalim
New member
Username: Ihhabtawfig

Post Number: 2
Registered: 05-2006
Posted on Saturday, May 06, 2006 - 01:32 pm:   

Thanx Bryce
I will Appreciate it very much if anyone can point out a method for unicoding Arabic text within our PHP script , or anywhere else .
Regards
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5900
Registered: 10-2002
Posted on Monday, May 08, 2006 - 06:46 pm:   

Does your PHP script talk SMPP? Why not have it submit to NowSMS using an HTTP request instead? If you include "&charset=iso-8859-6" in the URL request, then that will tell NowSMS that the text is Arabic, so you don't have to worry about the conversion.

There is a simple PHP script in the following thread which makes an HTTP request to NowSMS to send an SMS.

http://support.nowsms.com/discus/messages/1/867.html

... just append "&charset=iso-8859-6" in the request.

I'm not enough of a PHP expert to know how to accomplish the translation directly in PHP. I know there is a PHP function to convert from iso-8859-1 to utf-8, but I don't know of one to handle other conversions.

-bn
Hoby
New member
Username: Ihhabtawfig

Post Number: 3
Registered: 05-2006
Posted on Tuesday, May 09, 2006 - 05:23 pm:   

<qoute>qoute>
yep , it doese ,

now you helped me solve the problem by implementig the proper encoding .
Thanx -bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics