How to send + sign in SMS from API?

If you are using API and need to send a "+" sign in the content, you need to triple encode the + sign in the message content.

Here is a sample code for PHP:


$message = "YOUR+++MESSAGE+++++WITH++++ PLUS++++SIGN";
$message = urlencode($message);
$message = urlencode($message);

//now the message is double encoded

//send this message


You can use this for encoding -