Exended ASCII and code pages [was Re: for / while else doesn't make sense]

Marko Rauhamaa marko at pacujo.net
Fri May 27 03:04:09 EDT 2016


Steven D'Aprano <steve at pearwood.info>:

> I don't mind being corrected if I make a genuine mistake, in fact I
> appreciate correction. But being corrected for something I already
> acknowledged? That's just arguing for the sake of arguing.
> [...]
>> ASCII derivatives are in wide use in the Americas and Antarctica as
>> well. They have been spotted in Australia, New Zealand, Oceania and
>> Africa. You shouldn't be surprized if you run into them in Asia, either.
>
> Of course.
>
> But they're not *all encodings*, and while they're important, there
> are plenty of non-ASCII encodings and encodings which violate the "one
> byte equals one character" invariant followed by ASCII and
> extended-ASCII encodings.

They are all ASCII derivatives. Those that aren't don't exist.

   The vast majority of code pages in current use are supersets of ASCII
   <URL: https://en.wikipedia.org/wiki/Code_page#Relationship_to_ASCII>

Just like a byte is always 8 bits wide, and C's integers are all
two's-complement.


Marko



More information about the Python-list mailing list