Does the list sort() method (and other sort methods in Python) just go by the hex value assigned to each symbol to determine sort order in whichever Unicode encoding chart is being implemented? If yes, then my expectation would be that the French "รก" would come after the "z" character. I am not ready to get into the guts of Unicode. I am quite happy now to leave Python 3 at its default UTF-8 and strictly type in the ASCII subset of UTF-8. But I know I will eventually have to get into this, so I thought I would ask about sorting so I don't get any evil surprises with some text file I might have to manipulate in the future.
Thanks! -- boB _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor