Locale decode output of command
Otherwise strange encoding errors seem to happen.
This commit is contained in:
parent
e50a16cd80
commit
4807c6194a
1 changed files with 1 additions and 1 deletions
2
modeline
2
modeline
|
@ -45,7 +45,7 @@ sub refresh {
|
|||
my $text = " " x $ncol;
|
||||
my $rend = [($self->{rs_tabbar}) x $ncol];
|
||||
|
||||
my $output = `$self->{command} $ncol`;
|
||||
my $output = $self->locale_decode(`$self->{command} $ncol`);
|
||||
substr $text, 0, length $output, $output;
|
||||
|
||||
my $idx = 0;
|
||||
|
|
Loading…
Reference in a new issue