FrontlineSMS let users send, receive and manage SMS over a mobile network.

Any idea if it is possible to escape/alter the way in which the external command alters the contents of ${message_content} ?

Thank you,


Views: 231

Reply to This

Replies to This Discussion

Hi Pablo,

External command url-encodes the ${message_content} variable (using with UTF-8).

Most scripting languages will have a built-in or easily accessible url-decode function which will reverse this for you.

Hope this helps,


Hi Alex,

I've just seen your reply.

Do you know if there is any way to change the way in which spaces are encoded? I'm trying to use the + sign to indicate an operation (as entered by the user), and when the enconder kicks in I may end up with ...++... and not knowing if it is one space and a + sign, or two spaces!

Thanks a lot for your reply, and for any pointers you may have.



Probably the easiest thing to do will be to tweak and change the + signs that I wish to keep into something else before calling URLDecoder.decode()

I see that URLDecoder.decode() is also called in but I'm only using GPRS modems at the time.


Hi Pablo,

URL-encoding a plus sign should change it into the character sequence "%2b", so you should still be able to distinguish it from spaces.




Is this different to what you're seeing?


Reply to Discussion


© 2017   Created by FrontlineSMS Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service