[Tutor] sort() method and non-ASCII

boB Stepp robertvstepp at gmail.com
Sun Feb 5 17:30:47 EST 2017


On Sun, Feb 5, 2017 at 2:32 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Sat, Feb 04, 2017 at 09:52:47PM -0600, boB Stepp wrote:
>> 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?
>
> Correct, except that there is only one Unicode encoding chart.

I was looking at http://unicode.org/charts/  Because they called them
charts, so did I.  I'm assuming that despite this organization into
charts, each and every character in each chart has its own unique
hexadecimal code to designate each character.



-- 
boB


More information about the Tutor mailing list