Binary package “liburi-encode-perl” in ubuntu precise
Perl module to encode and decode strings to URIs
URI::Encode provides an easy method to encode strings (mainly URLs)
into a format which can be pasted into a plain text, so that those
links are 'clickable' by the person reading it.
.
If you are looking for speed and want to encode reserved characters, use
URI::Escape::XS