char 128? no... 256

Robin Munn rmunn at pobox.com
Wed Feb 12 17:45:10 EST 2003


Afanasiy <abelikov72 at hotmail.com> wrote:
> On Wed, 12 Feb 2003 20:18:02 +0300 (MSK), Roman Suzi <rnd at onego.ru> wrote:
> 
>>On Wed, 12 Feb 2003, Afanasiy wrote:
>>>On Wed, 12 Feb 2003 15:50:53 GMT, Afanasiy <abelikov72 at hotmail.com> wrote:
>>>>On Wed, 12 Feb 2003 03:18:43 GMT, Afanasiy <abelikov72 at hotmail.com> wrote:
>>
>>>>Now, even encoding the 'latin-1', 8 bit, is problematic, because symbols
>>>>which are 8 bit in Windows, such as the TradeMark symbol will not encode
>>>>into 8 bit, as the ordinal value in the Unicode object is 8482.
>>>>
>>>>This is hex 99 on a plain Windows 2000 install, I presume 'latin-1'.
>>
>>That is why your Windows doesn't use latin-1.
>>(Hmmm... I thought cp1250 is latin1.)
>>
>>Aliases of latin-1:
>>    '8859'               : 'latin_1',
>>    'cp819'              : 'latin_1',
>>    'csisolatin1'        : 'latin_1',
>>    'ibm819'             : 'latin_1',
>>    'iso8859'            : 'latin_1',
>>    'iso_8859_1'         : 'latin_1',
>>    'iso_8859_1_1987'    : 'latin_1',
>>    'iso_ir_100'         : 'latin_1',
>>    'l1'                 : 'latin_1',
>>    'latin'              : 'latin_1',
>>    'latin1'             : 'latin_1',
> 
> Also, should this be reported as a bug?

I see no bug. I see Roman Suzi saying "I thought cp1250 is latin1", then
deciding "I guess I thought wrong" and posting proof that he was wrong,
and that cp1250 is *not* latin1.

No, this should not be reported as a bug.

-- 
Robin Munn <rmunn at pobox.com>
http://www.rmunn.com/
PGP key ID: 0x6AFB6838    50FF 2478 CFFB 081A 8338  54F7 845D ACFD 6AFB 6838




More information about the Python-list mailing list