On Wed, Dec 7, 2016 at 9:07 PM, Mikhail V <mikhail...@gmail.com> wrote: > > it somehow settled in > peoples' minds that hex reference should be preferred, for no solid reason IMO.
I may be showing my age, but all the facts that I remember about ASCII codes are in hex: 1. SPACE is 0x20 followed by punctuation symbols. 2. Decimal digits start at 0x30 with '0' = 0x30, '1' = 0x31, ... 3. @ is 0x40 followed by upper-case letter: 'A' = 0x41, 'B' = 0x42, ... 4. Lower-case letters are offset by 0x20 from the uppercase ones: 'a' = 0x61, 'b' = 0x62, ... Unicode is also organized around hexadecimal codes with various scripts positioned in sections that start at round hexadecimal numbers. For example Cyrillic is at 0x0400 through 0x4FF < http://unicode.org/charts/PDF/U0400.pdf>. The only decimal fact I remember about Unicode is that the largest code-point is 1114111 - a palindrome!
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/