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:
|
if not n:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
letter = normalize('NFKD', n)[0].upper()
|
letter = normalize('NFKC', n)[0].upper()
|
||||||
|
|
||||||
if letter != last_letter:
|
if letter != last_letter:
|
||||||
last_letter = letter
|
last_letter = letter
|
||||||
@ -1481,7 +1481,7 @@ class SurnameListPage(BasePage):
|
|||||||
|
|
||||||
# Get a capital normalized version of the first letter of
|
# Get a capital normalized version of the first letter of
|
||||||
# the surname
|
# the surname
|
||||||
letter = normalize('NFKD', surname)[0].upper()
|
letter = normalize('NFKC', surname)[0].upper()
|
||||||
|
|
||||||
if letter is not last_letter:
|
if letter is not last_letter:
|
||||||
last_letter = letter
|
last_letter = letter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user