AppleScript:
*set input to "Text or URL to encode via PHP!"*
*set textencoded to do shell script "php -r 'echo trim(urlencode(" & "\"" & input & "" & "\"));'"*
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
URLencode in AppleScript
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.