in reply to URL translation

You said translate. Did you mean decode? URI will handle the URI decoding, but you'll have to reverse the character decoding yourself. (URI can't do it since it doesn't know which character encoding was used.)
use URI qw( ); my @segments = URI->new($url)->path_segments(); utf8::decode($_) for @segments;

URI, utf8

Update: Added missing decode.