newspaint

Documenting Problems That Were Difficult To Find The Answer To

Quick Perl Script To Decode URL Encoding

Run the following command line:

perl -pe 's/%([a-fA-F0-9]{2})/chr(hex($1))/ge'

Cut and paste your URL encoded string, press enter, and the decoded version will be printed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: