# URL encoding by RFC 3986 (by line) perl -MURI::Escape -pe '$_=uri_escape($_)' perl -MURI::Escape -pe '$_=uri_unescape($_)'