debjd1154` has asked for the wisdom of the Perl Monks concerning the following question:

I have a Perl that generates an order form. Users order things from a PDF catalog, which contains links with query strings to pass the item number and title into the corresponding fields in the HTML form.

Unfortunately, the titles have spaces and they are being transferred and displayed as %20 in the form. I would like them, of course, to be human readable spaces, so is there something I can add to my Perl to convert these ASCII spaces?

Thank you so much.

Replies are listed 'Best First'.
Re: Convert ASCII Spaces?
by wind (Priest) on Mar 08, 2011 at 00:06 UTC
Re: Convert ASCII Spaces?
by siraj (Sexton) on Mar 08, 2011 at 03:54 UTC
    We can also so do the same in JavaScript using encodeURIComponent(uri) before sending the request to server.
    Regards,
    Siraj