- or download this
binmode STDIN, ":utf8";
binmode STDOUT, ":utf8";
- or download this
binmode STDIN, ":encoding(UTF-8)";
binmode STDOUT, ":encoding(UTF-8)";
binmode STDERR, ":encoding(UTF-8)";
- or download this
use open ':std', ':encoding(UTF-8)';
- or download this
use open ':std', ':locale';
- or download this
open(IN, "<utf8", "sample.txt");
- or download this
open(IN, "<:encoding(UTF-8)", "sample.txt");
- or download this
use open IO => ':encoding(UTF-8)';
- or download this
use open IO => ':locale';
- or download this
use utf8;