[Python-Dev] Strange error importing a Pickle from 2.7 to 3.2

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Feb 24 00:56:14 CET 2011


On Wed, Feb 23, 2011 at 6:32 PM, M.-A. Lemburg <mal at egenix.com> wrote:
> Alexander Belopolsky wrote:
..
>> In what sense is "Latin-1" the official name?  The IANA charset
>> registry has the following listing
>>
>>
>> Name: ISO_8859-1:1987                                    [RFC1345,KXS2]
>> MIBenum: 4
>> Source: ECMA registry
>> Alias: iso-ir-100
>> Alias: ISO_8859-1
>> Alias: ISO-8859-1 (preferred MIME name)
>> Alias: latin1
..
> "Latin-1" is short for "Latin Alphabet No. 1" and
> started out as ECMA-94 in 1985 and 1986:

This does not explain your preference of "Latin-1" over "Latin1".
Both are perfectly valid abbreviations for "Latin Alphabet No. 1".
The spelling without "-" has the advantage of being a valid Python
identifier and a module name.  The IANA registration for "latin1" and
lack of that for "latin-1" most likely indicates that the former is
more commonly found in machine readable metadata.


More information about the Python-Dev mailing list