revert change I accidently checked in with something else -- see bug report #2695 for unicode normalization

svn: r11927
This commit is contained in:
Stéphane Charette 2009-02-08 19:29:35 +00:00
parent c39210b745
commit eab0dc057e

View File

@ -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