[Python-Dev] PEP 385: Mercurial issues

Oleg Broytmann phd at phd.pp.ru
Wed Aug 5 15:57:59 CEST 2009


On Wed, Aug 05, 2009 at 05:50:03PM +0400, Oleg Broytmann wrote:
>    Subversion handles these issues by providing ...
> svn:mime-type (handles both MIME type and charset)
> file-by-file basis.

   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.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list