This commit is contained in:
j 2010-11-26 18:16:57 +01:00
parent 31afb65c74
commit 0798a2a34d

View file

@ -167,6 +167,8 @@ def sort_title(title):
title = re.sub(u'[\'!¿¡,\.;\-"\:\*\[\]]', '', title) title = re.sub(u'[\'!¿¡,\.;\-"\:\*\[\]]', '', title)
#title = title.replace(u'Æ', 'Ae') #title = title.replace(u'Æ', 'Ae')
if isinstance(title, str):
title = unicode(title)
title = unicodedata.normalize('NFKD',title) title = unicodedata.normalize('NFKD',title)
#pad numbered titles #pad numbered titles