From 0fb612bb2f6b3eb59b3ff857a5c5a6668d68cb75 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 6 Feb 2009 13:00:43 -0800 Subject: [PATCH] Fix #1783 (Google Reader Recipe for non-English speakers) --- src/calibre/web/feeds/recipes/recipe_greader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/web/feeds/recipes/recipe_greader.py b/src/calibre/web/feeds/recipes/recipe_greader.py index 011718feae..f222a322f1 100644 --- a/src/calibre/web/feeds/recipes/recipe_greader.py +++ b/src/calibre/web/feeds/recipes/recipe_greader.py @@ -32,5 +32,6 @@ class GoogleReader(BasicNewsRecipe): soup = self.index_to_soup('http://www.google.com/reader/api/0/tag/list') for id in soup.findAll(True, attrs={'name':['id']}): url = id.contents[0] - feeds.append((re.search('/([^/]*)$', url).group(1), self.base_url + urllib.quote(url) + self.get_options)) + feeds.append((re.search('/([^/]*)$', url).group(1), + self.base_url + urllib.quote(url.encode('utf-8')) + self.get_options)) return feeds