> > Dirkjan, how does Mercurial handles charsets? If I have three files in > > my repository - one in utf-8, another in koi8-r, and the third in cp1251 > > encoding - I certainly don't want to convert them back and force, but I > > want hg web interface to provide charset in the Content-Type header. > > How is this relevant to PEP 385? I hope the answer is "not at all". > I've been there, done that, and my answer is "never again". (I'm not > telling you what to do with *your* repository, just that I don't see > any good reason for having any encodings but UTF-8 in Python's.)
Just in case my previous message gets overlooked: PEP 8 mandates Latin-1 for Python 2.x source code (except for files that test PEP 263). Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com