[EMAIL PROTECTED] writes: > For sorting the letter "Ä" is supposed to be treated like "Ae", > therefore sorting this list should yield > l = ["Aber, "Ärger", "Beere"]
Are you sure? Maybe I'm thinking of another language, I thought Ä shold be sorted together with A, but after A if the words are otherwise equal. E.g. Antwort, Ärger, Beere. A proper strcoll handles that by translating "Ärger" to e.g. ["Arger", <something like "E\0\0\0\0">], then it can sort first by the un-accentified name and then by the rest. -- Hallvard -- http://mail.python.org/mailman/listinfo/python-list