Hi, The locale modules privides a strcoll function that can perform locale specific string comparision, and based on this, we can design custom comparision function for the sorting.
However, this is quite cumbersome, for we have to derive custom classes from from the string / unicode objects, and provide comparision function to use locale.strcoll. Is there a way to 'install' a system wide LC_COLLATE function, so that string and unicode objects will automatically use the locale for their comparision? -- Hong Yuan 大管家网上建材超市 装修装潢建材一站式购物 http://www.homemaster.cn
-- http://mail.python.org/mailman/listinfo/python-list