Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #233 from duckduckgo/zaahir/utf8-fix
Browse files Browse the repository at this point in the history
Proper handling of UTF-8 content in _print_msg
  • Loading branch information
moollaza committed Mar 12, 2015
2 parents 138b841 + 79e8a5e commit 8cd1030
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/App/DuckPAN.pm
Expand Up @@ -23,6 +23,7 @@ use Carp;
use Encode;
use Perl::Version;
use Path::Tiny;
use open qw/:std :utf8/;
use App::DuckPAN::Cmd::Help;

option dukgo_login => (
Expand Down
1 change: 0 additions & 1 deletion lib/App/DuckPAN/Cmd/Server.pm
Expand Up @@ -12,7 +12,6 @@ use Path::Tiny;
use LWP::Simple;
use HTML::TreeBuilder;
use Config::INI;
use Data::Printer;
use Term::ProgressBar;

option port => (
Expand Down
1 change: 1 addition & 0 deletions lib/App/DuckPAN/Query.pm
Expand Up @@ -5,6 +5,7 @@ use Moo;
use Data::Printer;
use POE qw( Wheel::ReadLine );
use Try::Tiny;
use open qw/:std :utf8/;

# Entry into the module.
sub run {
Expand Down
2 changes: 1 addition & 1 deletion lib/App/DuckPAN/Web.pm
Expand Up @@ -17,7 +17,7 @@ use HTTP::Request;
use LWP::UserAgent;
use URI::Escape;
use JSON;
use Data::Dumper;
use open qw/:std :utf8/;

has blocks => ( is => 'ro', required => 1 );
has page_root => ( is => 'ro', required => 1 );
Expand Down

0 comments on commit 8cd1030

Please sign in to comment.