Help for this page

Select Code to Download


  1. or download this
    my $unicode_string = "Smiley Face: \x{263A}\n";
    my $bytes = encode('UTF-8', $unicode_string);
    binmode $fh, ':raw';
    print {$fh} $bytes;
    
  2. or download this
    binmode $fh, ':encoding(UTF-8)';