Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Sending special characters to sms using Perl

by moritz (Cardinal)
on Oct 23, 2012 at 12:02 UTC ( [id://1000468]=note: print w/replies, xml ) Need Help??


in reply to Sending special characters to sms using Perl

First of all it seems you are sending SMS using a web-based gateway. So you need to consult the documentation for that gateway.

Secondly I don't understand why .'&coding=2'.'&charset=utf-8' changes the breakup of messages; that should be done only by body lengths, not by the length of the submission URL. And I don't see the significants of length 16; the length limitation for the message body is more around 140 to 155 characters 160 bytes.

As for the special characters that don't work, see how enurl() escape those, and what your SMS gateway provider expects.

Replies are listed 'Best First'.
Re^2: Sending special characters to sms using Perl
by Ombongi.Moraa (Novice) on Oct 23, 2012 at 13:08 UTC
    @moritz - sorry I meant 160 characters not 16; And this is 140 bytes approximately depending on the characters in the sms. Ive implemented what my sms gateway (kannel) advises but as i explained, since these messages are forwarded separately to smsc, they are considered and MT messages and hence the subscriber gets billed for them. that's why im asking for a solution on the perl side.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1000468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-03-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found