Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > uencode decode url string

Reply
Thread Tools

uencode decode url string

 
 
Xah Lee
Guest
Posts: n/a
 
      06-27-2005
is there a perl module that turns encoded url to plain chars? e.g.
'%20' to space.

thanks.

Xah
http://www.velocityreviews.com/forums/(E-Mail Removed)
http://xahlee.org/

 
Reply With Quote
 
 
 
 
Gunnar Hjalmarsson
Guest
Posts: n/a
 
      06-27-2005
Xah Lee wrote:
> is there a perl module that turns encoded url to plain chars? e.g.
> '%20' to space.


URI::Escape

Or, if there are just a few of them:

s/%(..)/chr hex $1/eg;

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How encode & decode string to integer and back to string? sumit Java 0 03-10-2012 10:17 AM
how to convert url with query string to url without query string nick Javascript 1 02-13-2011 11:20 PM
Decode URL string Snedker ASP .Net 9 09-02-2008 07:51 AM
URL Decode HTML encoded in JavaScript Ben Amada ASP .Net 1 09-30-2005 08:25 AM
function to url decode a string Ramprasad A Padmanabhan C Programming 11 07-27-2003 04:23 AM



Advertisments