Fix of issue 2492.
svn: r11305
This commit is contained in:
parent
ef14f6bf65
commit
8d4624bdbc
@ -1028,7 +1028,7 @@ class PlaceListPage(BasePage):
|
|||||||
if not n:
|
if not n:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
letter = normalize('NFD', n)[0].upper()
|
letter = normalize('NFC', n)[0].upper()
|
||||||
|
|
||||||
if letter != last_letter:
|
if letter != last_letter:
|
||||||
last_letter = letter
|
last_letter = letter
|
||||||
@ -1389,7 +1389,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('NFD', surname)[0].upper()
|
letter = normalize('NFC', surname)[0].upper()
|
||||||
|
|
||||||
if letter != last_letter:
|
if letter != last_letter:
|
||||||
last_letter = letter
|
last_letter = letter
|
||||||
|
Loading…
Reference in New Issue
Block a user