URL Encode values for use with external tool

I am trying to set up my system to allow me to log tickets for offline devices with a tool on The Dude.

I need to url encode strings, so that they are passed to the web browser correctly.

Does anyone know how to do this, or if it is even possible?