Today I found myself trying to url encode an AppleScript for use with an applescript URL that pops up the encoded script in the ScriptEditor. Apple provides an AppleScript to do this but it is flaky and sometimes gives a result that simply doesn't work. I did a quick search for a Service that would url encode the selected text and was surprised not to find one. Perhaps a nice feature in MarsEdit would be to url encode the current selection. It could be done as part of the app or as a service.