use utf8; # Tells Perl that the script itself is written in UTF-8 my $utf8_string = "UTF-8 string with special chars: ñ æ ô";