Skip to content
Browse files

Encode text passed to the pager.

  • Loading branch information...
1 parent 2111fbc commit e6cb7a2316bfc445d57adfda5109d0b7ccd386b1 @theory committed Aug 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/App/Sqitch.pm
View
3 lib/App/Sqitch.pm
@@ -11,6 +11,7 @@ use Config;
use Locale::TextDomain qw(App-Sqitch);
use App::Sqitch::X qw(hurl);
use Moose;
+use Encode qw(encode_utf8);
use Try::Tiny;
use List::Util qw(first);
use IPC::System::Simple qw(runx capturex $EXITVAL);
@@ -424,7 +425,7 @@ sub _prepend {
}
sub page {
- shift->pager->say(@_);
+ shift->pager->say(encode_utf8 join '', map { $_ // '' } @_);
}
sub trace {

0 comments on commit e6cb7a2

Please sign in to comment.
Something went wrong with that request. Please try again.