From c8c9112b0f5631d3bcfc2f6c891142c1974435e8 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 1 Jul 2017 19:03:07 +0200 Subject: [PATCH] syno: CRISCO now speaks utf-8 --- modules/syno.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/syno.py b/modules/syno.py index 13d0250..4bdc990 100644 --- a/modules/syno.py +++ b/modules/syno.py @@ -29,7 +29,7 @@ def load(context): # MODULE CORE ######################################################### def get_french_synos(word): - url = "http://www.crisco.unicaen.fr/des/synonymes/" + quote(word.encode("ISO-8859-1")) + url = "http://www.crisco.unicaen.fr/des/synonymes/" + quote(word) page = web.getURLContent(url) best = list(); synos = list(); anton = list()