Skip to content

Commit

Permalink
Better argumetns to binmode()
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Oct 3, 2018
1 parent 84987b2 commit 2763789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eg/check_feed.pl
Expand Up @@ -15,8 +15,8 @@ =head1 DESCRIPTION
my $src = shift;

die "Usage: $0 FILE|URL\n" if not $src;
binmode STDOUT, 'utf8';
binmode STDERR, 'utf8';
binmode STDOUT, ':encoding(UTF-8)';
binmode STDERR, ':encoding(UTF-8)';

my $source = $src;
if ($src =~ m{^https?://}) {
Expand Down

0 comments on commit 2763789

Please sign in to comment.