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

Note: If you are unable to get the + sign with double encoding, try Triple encoding and then send the message.