... use utf8; my $text = "\\alpha"; $text =~ s/\\alpha/\x{03B1}/g; print $text; ...