[Python-Dev] Python3 "complexity"
Kristján Valur Jónsson
kristjan at ccpgames.com
Thu Jan 9 14:40:08 CET 2014
> -----Original Message-----
> From: Python-Dev [mailto:python-dev-
> bounces+kristjan=ccpgames.com at python.org] On Behalf Of Kristján Valur
> Jónsson
> Sent: 9. janúar 2014 13:37
> To: Antoine Pitrou; python-dev at python.org
> Subject: Re: [Python-Dev] Python3 "complexity"
>
> This definition is funny, because according to Wikipedia, it is a "superset" of
> 8869-1 ( latin1) See http://en.wikipedia.org/wiki/Cp1252
> Also, see
> http://en.wikipedia.org/wiki/Latin1
>
> There is confusion there. The iso8859-1 does in fact not define the control
> codes in range 128 to 158, whereas the Unicode page Latin 1 does.
> Strictly speaking, then, a Latin1 (or more specifically, ISO8859-1) decoder
> should error on these characters.
> the 'Latin1' codec therefore is not a true 8859-1 codec.
See also: http://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)
for the latin-1 supplement, not to be confused with 8859-1.
The header of the 8859-1 page is telling:
"""
ISO/IEC 8859-1
From Wikipedia, the free encyclopedia
(Redirected from Latin1)
For the Unicode block also called "Latin 1", see Latin-1 Supplement (Unicode block). For the character encoding commonly mislabeled as "ISO-8859-1", see Windows-1252.
"""
K
More information about the Python-Dev
mailing list