diff --git a/src/calibre/utils/unicode_names.py b/src/calibre/utils/unicode_names.py index b9c40f6ba1..3ef9a739df 100644 --- a/src/calibre/utils/unicode_names.py +++ b/src/calibre/utils/unicode_names.py @@ -35,7 +35,7 @@ def points_for_word(w): w = w.lower() ans = points_for_word.cache.get(w) if ans is None: - ans = plugins['unicode_names'][0].codepoints_for_word(w.encode('utf-8')) | html_entities().get(w, set()) + ans = plugins['unicode_names'][0].codepoints_for_word(w) | html_entities().get(w, set()) points_for_word.cache[w] = ans return ans