Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #265 from duckduckgo/zaahir/duckpan-query-utf8

Thank you!
  • Loading branch information...
commit 7576bc0f1f9dae2c6793e9cf4539361a28982adb 2 parents b70aa74 + f08b3d4
@zachthompson zachthompson authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/App/DuckPAN/Query.pm
View
5 lib/App/DuckPAN/Query.pm
@@ -89,9 +89,10 @@ sub _get_user_input {
# Event that processes the query
sub _run_query {
- my ($k, $h, $query) = @_[KERNEL, HEAP, ARG0];
-
+ my ($k, $h, $query) = @_[KERNEL, HEAP, ARG0];
+
my ($app, $blocks) = @$h{qw{app blocks}};
+ Encode::_utf8_on($query);
try {
my $request = DDG::Request->new(
Please sign in to comment.
Something went wrong with that request. Please try again.