revert change I accidently checked in with something else -- see bug report #2695 for unicode normalization
svn: r11927
This commit is contained in:
parent
c39210b745
commit
eab0dc057e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user