From eab0dc057e5bdf71fb49a8c105610c35a250701d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Charette?= Date: Sun, 8 Feb 2009 19:29:35 +0000 Subject: [PATCH] revert change I accidently checked in with something else -- see bug report #2695 for unicode normalization svn: r11927 --- src/plugins/webreport/NarrativeWeb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 53417033a..94d408086 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1041,7 +1041,7 @@ class PlaceListPage(BasePage): if not n: continue - letter = normalize('NFKD', n)[0].upper() + letter = normalize('NFKC', n)[0].upper() if letter != last_letter: last_letter = letter @@ -1481,7 +1481,7 @@ class SurnameListPage(BasePage): # Get a capital normalized version of the first letter of # the surname - letter = normalize('NFKD', surname)[0].upper() + letter = normalize('NFKC', surname)[0].upper() if letter is not last_letter: last_letter = letter