]> Dogcows Code - chaz/git-codeowners/blobdiff - lib/App/Codeowners.pm
Version 0.49
[chaz/git-codeowners] / lib / App / Codeowners.pm
index 5715354c8a6cff9a47bcfb6f5833156d97d08e1c..f33dfb820f827841bfab5b18c878086b9943828d 100644 (file)
@@ -10,11 +10,10 @@ use App::Codeowners::Formatter;
 use App::Codeowners::Options;
 use App::Codeowners::Util qw(find_codeowners_in_directory run_git git_ls_files git_toplevel);
 use Color::ANSI::Util 0.03 qw(ansifg);
-use Encode qw(encode);
 use File::Codeowners;
 use Path::Tiny;
 
-our $VERSION = '0.48'; # VERSION
+our $VERSION = '0.49'; # VERSION
 
 
 sub main {
@@ -29,6 +28,8 @@ sub main {
     my $command = $opts->command;
     my $handler = $self->can("_command_$command")
         or die "Unknown command: $command\n";
+
+    binmode(STDOUT, ':encoding(UTF-8)');
     $self->$handler($opts);
 
     exit 0;
@@ -218,7 +219,7 @@ App::Codeowners - A tool for managing CODEOWNERS files
 
 =head1 VERSION
 
-version 0.48
+version 0.49
 
 =head1 DESCRIPTION
 
This page took 0.023425 seconds and 4 git commands to generate.