use HTML::Entities; my $html_string = "αβγαabc123"; my $unicode_string = decode_entities($html_string);