Python's 8-bit cleanness deprecated?

Roman Suzi rnd at onego.ru
Mon Feb 10 15:42:12 EST 2003


On Mon, 10 Feb 2003, Jarek Zgoda wrote:

>Roman Suzi <rnd at onego.ru> pisze:
> 
>> And also, for a windows program which encoding do I specify? Windows console
>> historically uses cp866 while GUI uses cp1251.
>
>We have cp437 for Windows console as default encoding, while _really_
>it's something different... You don't have "╠" character in cp437 set,
>but you can do
>
>print "Za©СЁФ gЙ╤l╠ ja╪Я".encode('cp437')
>
>and it will be shown correctly.

OK. Let's have a real life test of PEP 263.  Could you please send it in
attachment file (as a binary) with a proper encoding indicated by -*-
coding-cookie? (Maybe even to c.l.p - so large audience could confirm encoding
declaration helps read and run your program on Python 2.3 ).

(I hope you do have Python 2.3a to test it on your computer.)


Sincerely yours, Roman Suzi
-- 
rnd at onego.ru =\= My AI powered by Linux RedHat 7.3






More information about the Python-list mailing list