Help for this page
my ($fh, $tempfile) = tempfile(); binmode( $fh, ":utf8" );
my ($fh, $tempfile) = tempfile(); binmode( $fh, ":encoding(UTF-8)" );