Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use v5.10;
    ...
    
    binmode STDOUT,':encoding(utf-8)'; # I use a UTF-8 terminal
    say $octets; # implicit converting from ISO-8859-1 to UTF-8 due to bin
    +mode above
    
  2. or download this
    a<0x00FE>b
    a<0x00123456>b
    aÄb<0x263A>c