On 06/09/11 16:46, ssegvic wrote: > For the moment, I only wish to properly sort a Croatian text file > both on Windows and Linux (I am a cautious guy, I like reachable > goals). > When the locale is properly set, sorting works like a charm > with mylist.sort(key=locale.strxfrm).
The problem with that is of course that a Croatian locale has to be installed. Many Linux systems don't have locales that aren't used. -- http://mail.python.org/mailman/listinfo/python-list