[Python-Dev] PEP 385: Mercurial issues
Stephen J. Turnbull
stephen at xemacs.org
Wed Aug 5 17:34:39 CEST 2009
Oleg Broytmann writes:
> 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.)
More information about the Python-Dev
mailing list