| Christopher Nehren 2005-06-09, 3:57 am |
| On 2005-06-09, socialism001@yahoo.com scribbled these
curious markings:
> I'm creating a URL to paste into a html page that the user can click
> on. Does anyone know of any programs that will automatically convert
> spaces and other special characters into url compatible code. I think
> space is %20
This is in the FAQ (which I actually didn't know until a short while
ago, as it was posted to the group). perlfaq9 has your answer. If you
have access to a system with a command-line and a proper perl
installation (instead of the butchered installations which certain
unnamed Linux distributions use by default), you should be able to
obtain the answer by doing:
perldoc -q '%-'
Change the '' as appropriate for your shell's quoting rules.
Best Regards,
Christopher Nehren
--
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong people questions, you get "Joel on Software".
Unix is user friendly. However, it isn't idiot friendly.
|