X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FApp%2FCodeowners%2FFormatter%2FString.pm;fp=lib%2FApp%2FCodeowners%2FFormatter%2FString.pm;h=14b07a4096b2769881f9565eb575cfe5a41a3666;hb=2ce4094a9656c27b2b83442e11b86e44306525bf;hp=c613b47b8e2c19d48b5a00b2f3f81228df03929b;hpb=7cd7abef6e13815b2deb4abb9c2e1edc1eee380e;p=chaz%2Fgit-codeowners diff --git a/lib/App/Codeowners/Formatter/String.pm b/lib/App/Codeowners/Formatter/String.pm index c613b47..14b07a4 100644 --- a/lib/App/Codeowners/Formatter/String.pm +++ b/lib/App/Codeowners/Formatter/String.pm @@ -5,13 +5,12 @@ package App::Codeowners::Formatter::String; use warnings; use strict; -our $VERSION = '0.48'; # VERSION +our $VERSION = '0.49'; # VERSION use parent 'App::Codeowners::Formatter'; use App::Codeowners::Util qw(stringf zip); use Color::ANSI::Util 0.03 qw(ansifg); -use Encode qw(encode); sub stream { my $self = shift; @@ -27,7 +26,7 @@ sub stream { ); my $text = stringf($self->format, %info); - print { $self->handle } encode('UTF-8', $text), "\n"; + print { $self->handle } $text, "\n"; } sub _expand_filter_args { @@ -136,7 +135,7 @@ App::Codeowners::Formatter::String - Format codeowners output using printf-like =head1 VERSION -version 0.48 +version 0.49 =head1 DESCRIPTION