From 5f658bfc04cabfc3427c16c1aca8b6b32a9217cc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Aug 2012 01:11:03 +0530 Subject: [PATCH] Change unicode normalization to use not convert characters to their equivalence classes --- src/calibre/ebooks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/__init__.py b/src/calibre/ebooks/__init__.py index 9ebdc87c81..da820cffbb 100644 --- a/src/calibre/ebooks/__init__.py +++ b/src/calibre/ebooks/__init__.py @@ -173,7 +173,7 @@ def check_ebook_format(stream, current_guess): def normalize(x): if isinstance(x, unicode): import unicodedata - x = unicodedata.normalize('NFKC', x) + x = unicodedata.normalize('NFC', x) return x def calibre_cover(title, author_string, series_string=None,