From f772fbf284b530cfaccfe0ac7e1a45f5c8d697b0 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 17 Oct 2008 21:27:36 +0000 Subject: [PATCH] Forgot to utf-8 encode the URL from a Google search --- plugins/Google/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Google/plugin.py b/plugins/Google/plugin.py index a8d8c6e7b..88a9b8776 100644 --- a/plugins/Google/plugin.py +++ b/plugins/Google/plugin.py @@ -128,7 +128,7 @@ class Google(callbacks.PluginRegexp): for result in data: title = utils.web.htmlToText(result['titleNoFormatting']\ .encode('utf-8')) - url = result['unescapedUrl'] + url = result['unescapedUrl'].encode('utf-8') if title: if bold: title = ircutils.bold(title)