- or download this
$ perl -le'binmode STDOUT, ":utf8"; print "\x{00E4}";'|od -c
0000000 303 244 \n
0000003
- or download this
$ perl -CO -le'use charnames ":full"; print "\N{LATIN SMALL LETTER A W
+ITH DIAERESIS}";'|od -c
0000000 303 244 \n
0000003
- or download this
$ perl |od -c
use Encode;
my $c = decode "latin1", "\xe4";
...
__END__
0000000 303 205
0000002
- or download this
use utf8;
my $á = 42;
print $á, "\n";
__END__
42