X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgit-codeowners;a=blobdiff_plain;f=lib%2FApp%2FCodeowners%2FFormatter%2FString.pm;h=e6613c1954dbfb5b009097804ab17190b59e0bd5;hp=ecc0808c9b53c615d3d6a5e44d54bdb77f346183;hb=1c893b7e095fdaffdf47ffee426407a1f7e305fb;hpb=394cf108a349a62a3ae7a5d0137b9c8a90faac5b diff --git a/lib/App/Codeowners/Formatter/String.pm b/lib/App/Codeowners/Formatter/String.pm index ecc0808..e6613c1 100644 --- a/lib/App/Codeowners/Formatter/String.pm +++ b/lib/App/Codeowners/Formatter/String.pm @@ -18,7 +18,6 @@ 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; @@ -34,7 +33,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 {