Python's 8-bit cleanness deprecated?

Michael Hudson mwh at
Wed Feb 5 16:12:32 CET 2003

Roman Suzi <rnd at> writes:

> what if I have a program which comments are in one encoding and string
> literals in another one? (I have a project which uses cp1252 in literals
> and koi8-r in comments (sometimes).)

How can that work?  How does your editor know which is which?  Or do
you just flip from one charset to the other as needed?

> Is there any decent editor supporting utf-8?

GNU Emacs 21.  I think WinXP's notepad.exe might.  There are surely


  Roll on a game of competetive offence-taking.
                                            -- Dan Sheppard,

More information about the Python-list mailing list