]> Dogcows Code - chaz/git-codeowners/blobdiff - lib/App/Codeowners/Formatter/Table.pm
fix printing wide char with YAML formatter
[chaz/git-codeowners] / lib / App / Codeowners / Formatter / Table.pm
index 1f9373e1e647d53e39053d31bf9bff17f7fb66a4..ce6b63d8339dcaf89f5a8c1f8a923693e94d2ca7 100644 (file)
@@ -15,7 +15,6 @@ our $VERSION = '9999.999'; # VERSION
 use parent 'App::Codeowners::Formatter';
 
 use App::Codeowners::Util qw(stringify);
-use Encode qw(encode);
 
 sub finish {
     my $self    = shift;
@@ -28,7 +27,7 @@ sub finish {
         rows        => [$self->columns, map { [map { stringify($_) } @$_] } @$results],
         backend     => $ENV{PERL_TEXT_TABLE},
     );
-    print { $self->handle } encode('UTF-8', $table);
+    print { $self->handle } $table;
 }
 
 1;
This page took 0.016938 seconds and 4 git commands to generate.