in reply to Having problem with url space conversion

As a very generic answer,

$url =~ s/%20/ /g;

On the other hand, try URI::Escape:

$normal = uri_unescape($escaped);

It unescapes anything URI-escaped. You can also reliably escape strings with uri_escape().