Help for this page

Select Code to Download


  1. or download this
    $ perl -le'binmode STDOUT, ":utf8"; print "\x{00E4}";'|od -c
    0000000 303 244  \n
    0000003
    
  2. 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
    
  3. or download this
    $ perl |od -c
    use Encode;
    my $c = decode "latin1", "\xe4";
    ...
    __END__
    0000000 303 205
    0000002
    
  4. or download this
    use utf8;
    my $á = 42;
    print $á, "\n";
    __END__
    42