in reply to url code

Use URI::Escape. To escape unsafe characters:
use URI::Escape; $safe = uri_escape("10% is enough\n");
To unescape a URL:
$str = uri_unescape($safe);

Replies are listed 'Best First'.
RE: Re: url code
by Delfer (Novice) on Aug 03, 2000 at 11:54 UTC
    Thank you. And is there the function to convert '10' into 'a'? Contrary to hex().