locale.strxfrm doesn't work for capital I and İ and sorts it by the second letter

前端 未结 0 389
隐瞒了意图╮
隐瞒了意图╮ 2021-02-06 00:38

I have a list that i want to sort in an alphabetical order.

import locale
locale.setlocale(locale.LC_ALL,"tr_TR")
my_list = [[1, 0, 15, \'A\', 0, 0], [2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题