Set utf8 on both output filehandles.
Gregory Todd Williams
8 years ago
18 | 18 |
exit;
|
19 | 19 |
}
|
20 | 20 |
|
21 | |
binmode(\*STDOUT, ':utf8');
|
|
21 |
binmode(\*STDOUT, ':encoding(UTF-8)');
|
|
22 |
binmode(\*STDERR, ':encoding(UTF-8)');
|
22 | 23 |
|
23 | 24 |
my $verbose = 0;
|
24 | 25 |
my $pull = 0;
|
26 | 26 |
END
|
27 | 27 |
exit(0);
|
28 | 28 |
}
|
|
29 |
|
|
30 |
binmode(\*STDOUT, ':encoding(UTF-8)');
|
|
31 |
binmode(\*STDERR, ':encoding(UTF-8)');
|
29 | 32 |
|
30 | 33 |
my $dryrun = 0;
|
31 | 34 |
my $check_syntax = 0;
|