[Python-Dev] Bug #112265: Tkinter seems to treat everything as Latin 1 (original) (raw)
Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sat, 26 Aug 2000 17:43:38 +0200
- Previous message: [Python-Dev] Bug #112265: Tkinter seems to treat everything as Latin 1
- Next message: [Python-Dev] Bug #112265: Tkinter seems to treat everything as Latin 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
UnicodeError: ASCII decoding error: ordinal not in range(128)
btw, what the heck is an "ordinal"?
(let's see: it's probably not "a book of rites for the ordination of deacons, priests, and bishops". how about an "ordinal number"? that is, "a number designating the place (as first, second, or third) occupied by an item in an ordered sequence". hmm. does this mean that I cannot use strings longer than 128 characters? but this string was only 12 characters long. wait, there's another definition here: "a number assigned to an ordered set that de- signates both the order of its elements and its cardinal number". hmm. what's a "cardinal"? "a high ecclesiastical official of the Roman Catholic Church who ranks next below the pope and is appointed by him to assist him as a member of the college of cardinals"? ... oh, here it is: "a number (as 1, 5, 15) that is used in simple counting and that indicates how many elements there are in an assemblage". "assemblage"?)
::: wouldn't "character" be easier to grok for mere mortals?
...and isn't "range(128)" overly cute?
::: how about:
UnicodeError: ASCII decoding error: character not in range 0-127
- Previous message: [Python-Dev] Bug #112265: Tkinter seems to treat everything as Latin 1
- Next message: [Python-Dev] Bug #112265: Tkinter seems to treat everything as Latin 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]